#8A76DD#8A76DD

#8A76DD is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.0% C 0.151 H 290.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A76DD
RGBrgb(138, 118, 221)
HSLhsl(252, 60%, 66%)
HSVhsv(252, 47%, 87%)
CMYKcmyk(37.6%, 46.6%, 0%, 13.3%)
CIE-LABlab(55.66, 31.56, -50.17)
CIE-LCHlch(55.66, 59.27, 302.17°)
OKLaboklab(63.05% 0.0525 -0.1417)
OKLCHoklch(63.05% 0.151 290.3)
XYZxyz(30.0073, 23.5798, 71.3629)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76DD #C9DD76
analogous
#7696DD #8A76DD #BD76DD
triadic
#8A76DD #DD8A76 #76DD8A
tetradic
#8A76DD #DD7696 #C9DD76 #76DDBD
square
#8A76DD #DD7696 #C9DD76 #76DDBD
split-complementary
#8A76DD #DDBD76 #96DD76
monochromatic
#442BAE #6045D1 #8A76DD #B4A7E9 #DED8F5

Accessibility & contrast

On white

3.67
#8A76DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A76DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76DD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76DD#FFFFFF#000000##000000
##8A76DD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E1
Deuteranopia (green-blind)
#5283DB
Tritanopia (blue-blind)
#748A9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a76dd;
/* rgb */ color: rgb(138, 118, 221);
/* oklch */ color: oklch(63.0% 0.151 290.3);
Tailwind
colors: {
  custom: {
    50: '#b09de8',
    500: '#8a76dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a76dd;
$custom-light: #b09de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76dd",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 251.65,
    "s": 60.234,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63048,
    "c": 0.15107,
    "h": 290.3
  },
  "luminance": 0.23581
}

Semantic roles & 50–950 ramp

primary
#8A76DD
secondary
#E2E8C7
accent
#C81EA7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76DD

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

Preview Lab → · Contrast checker → · Palette generator →

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