#8772D9#8772D9

#8772D9 is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.8% C 0.152 H 290.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8772D9
RGBrgb(135, 114, 217)
HSLhsl(252, 58%, 65%)
HSVhsv(252, 47%, 85%)
CMYKcmyk(37.8%, 47.5%, 0%, 14.9%)
CIE-LABlab(54.23, 32.05, -50.21)
CIE-LCHlch(54.23, 59.57, 302.55°)
OKLaboklab(61.84% 0.0535 -0.1419)
OKLCHoklch(61.84% 0.152 290.7)
XYZxyz(28.5300, 22.1945, 68.4130)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772D9 #C4D972
analogous
#7291D9 #8772D9 #BB72D9
triadic
#8772D9 #D98772 #72D987
tetradic
#8772D9 #D97291 #C4D972 #72D9BB
square
#8772D9 #D97291 #C4D972 #72D9BB
split-complementary
#8772D9 #D9BB72 #91D972
monochromatic
#452CA4 #5E42CC #8772D9 #B0A2E6 #D9D2F3

Accessibility & contrast

On white

3.86
#8772D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8772D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772D9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772D9#FFFFFF#000000##000000
##8772D91.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DD
Deuteranopia (green-blind)
#4E7FD7
Tritanopia (blue-blind)
#72869B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8772d9;
/* rgb */ color: rgb(135, 114, 217);
/* oklch */ color: oklch(61.8% 0.152 290.7);
Tailwind
colors: {
  custom: {
    50: '#ae9be5',
    500: '#8772d9',
    950: '#000000',
  },
}
SCSS
$custom: #8772d9;
$custom-light: #ae9be5;
$custom-dark: #000000;
JSON
{
  "hex": "#8772d9",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 217
  },
  "hsl": {
    "h": 252.233,
    "s": 57.542,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.15162,
    "h": 290.7
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

primary
#8772D9
secondary
#DEE5C2
accent
#C520A4
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772D9

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

Preview Lab → · Contrast checker → · Palette generator →

#8772D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva