#8772DC#8772DC

#8772DC is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.0% C 0.156 H 290.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8772DC
RGBrgb(135, 114, 220)
HSLhsl(252, 60%, 65%)
HSVhsv(252, 48%, 86%)
CMYKcmyk(38.6%, 48.2%, 0%, 13.7%)
CIE-LABlab(54.40, 32.87, -51.64)
CIE-LCHlch(54.40, 61.21, 302.48°)
OKLaboklab(62.02% 0.0538 -0.1461)
OKLCHoklch(62.02% 0.156 290.2)
XYZxyz(28.9237, 22.3520, 70.4867)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772DC #C7DC72
analogous
#7292DC #8772DC #BC72DC
triadic
#8772DC #DC8772 #72DC87
tetradic
#8772DC #DC7292 #C7DC72 #72DCBC
square
#8772DC #DC7292 #C7DC72 #72DCBC
split-complementary
#8772DC #DCBC72 #92DC72
monochromatic
#432AAA #5D41D0 #8772DC #B1A3E8 #DAD4F4

Accessibility & contrast

On white

3.84
#8772DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8772DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772DC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772DC#FFFFFF#000000##000000
##8772DC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#70879D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8772dc;
/* rgb */ color: rgb(135, 114, 220);
/* oklch */ color: oklch(62.0% 0.156 290.2);
Tailwind
colors: {
  custom: {
    50: '#ae9be7',
    500: '#8772dc',
    950: '#000000',
  },
}
SCSS
$custom: #8772dc;
$custom-light: #ae9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8772dc",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 251.887,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62016,
    "c": 0.15565,
    "h": 290.2
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#8772DC
secondary
#E0E7C3
accent
#C81EA6
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772DC

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

Preview Lab → · Contrast checker → · Palette generator →

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