#8A76DB#8A76DB

#8A76DB is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.9% C 0.148 H 290.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A76DB
RGBrgb(138, 118, 219)
HSLhsl(252, 58%, 66%)
HSVhsv(252, 46%, 86%)
CMYKcmyk(37%, 46.1%, 0%, 14.1%)
CIE-LABlab(55.56, 31.02, -49.21)
CIE-LCHlch(55.56, 58.17, 302.22°)
OKLaboklab(62.93% 0.0522 -0.1389)
OKLCHoklch(62.93% 0.148 290.6)
XYZxyz(29.7424, 23.4738, 69.9679)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76DB #C7DB76
analogous
#7694DB #8A76DB #BC76DB
triadic
#8A76DB #DB8A76 #76DB8A
tetradic
#8A76DB #DB7694 #C7DB76 #76DBBC
square
#8A76DB #DB7694 #C7DB76 #76DBBC
split-complementary
#8A76DB #DBBC76 #94DB76
monochromatic
#452DAA #6146CE #8A76DB #B3A6E8 #DDD7F4

Accessibility & contrast

On white

3.69
#8A76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76DB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76DB#FFFFFF#000000##000000
##8A76DB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#758A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a76db;
/* rgb */ color: rgb(138, 118, 219);
/* oklch */ color: oklch(62.9% 0.148 290.6);
Tailwind
colors: {
  custom: {
    50: '#b09de7',
    500: '#8a76db',
    950: '#000000',
  },
}
SCSS
$custom: #8a76db;
$custom-light: #b09de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76db",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 251.881,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62932,
    "c": 0.14837,
    "h": 290.6
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

primary
#8A76DB
secondary
#E0E7C6
accent
#C620A5
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76DB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A76DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva