#8772D2#8772D2

#8772D2 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.4% C 0.142 H 291.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8772D2
RGBrgb(135, 114, 210)
HSLhsl(253, 52%, 64%)
HSVhsv(253, 46%, 82%)
CMYKcmyk(35.7%, 45.7%, 0%, 17.6%)
CIE-LABlab(53.85, 30.16, -46.85)
CIE-LCHlch(53.85, 55.72, 302.77°)
OKLaboklab(61.43% 0.0526 -0.132)
OKLCHoklch(61.43% 0.142 291.7)
XYZxyz(27.6388, 21.8380, 63.7192)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772D2 #BDD272
analogous
#728DD2 #8772D2 #B772D2
triadic
#8772D2 #D28772 #72D287
tetradic
#8772D2 #D2728D #BDD272 #72D2B7
square
#8772D2 #D2728D #BDD272 #72D2B7
split-complementary
#8772D2 #D2B772 #8DD272
monochromatic
#483199 #6044C3 #8772D2 #AEA0E1 #D6CFF0

Accessibility & contrast

On white

3.91
#8772D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8772D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772D2#FFFFFF#000000##000000
##8772D21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D6
Deuteranopia (green-blind)
#537FD0
Tritanopia (blue-blind)
#748598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8772d2;
/* rgb */ color: rgb(135, 114, 210);
/* oklch */ color: oklch(61.4% 0.142 291.7);
Tailwind
colors: {
  custom: {
    50: '#ad9be0',
    500: '#8772d2',
    950: '#000000',
  },
}
SCSS
$custom: #8772d2;
$custom-light: #ad9be0;
$custom-dark: #000000;
JSON
{
  "hex": "#8772d2",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 253.125,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.14215,
    "h": 291.7
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#8772D2
secondary
#D9E1BF
accent
#BF269E
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8772D2

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

Preview Lab → · Contrast checker → · Palette generator →

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