#8772CE#8772CE

#8772CE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.2% C 0.137 H 292.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8772CE
RGBrgb(135, 114, 206)
HSLhsl(254, 48%, 63%)
HSVhsv(254, 45%, 81%)
CMYKcmyk(34.5%, 44.7%, 0%, 19.2%)
CIE-LABlab(53.64, 29.09, -44.91)
CIE-LCHlch(53.64, 53.51, 302.93°)
OKLaboklab(61.2% 0.0521 -0.1264)
OKLCHoklch(61.2% 0.137 292.4)
XYZxyz(27.1467, 21.6412, 61.1275)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772CE #B9CE72
analogous
#728BCE #8772CE #B572CE
triadic
#8772CE #CE8772 #72CE87
tetradic
#8772CE #CE728B #B9CE72 #72CEB5
square
#8772CE #CE728B #B9CE72 #72CEB5
split-complementary
#8772CE #CEB572 #8BCE72
monochromatic
#493393 #6045BE #8772CE #AE9FDE #D4CDEE

Accessibility & contrast

On white

3.94
#8772CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8772CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772CE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772CE#FFFFFF#000000##000000
##8772CE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#768396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8772ce;
/* rgb */ color: rgb(135, 114, 206);
/* oklch */ color: oklch(61.2% 0.137 292.4);
Tailwind
colors: {
  custom: {
    50: '#ad9bdd',
    500: '#8772ce',
    950: '#000000',
  },
}
SCSS
$custom: #8772ce;
$custom-light: #ad9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8772ce",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 253.696,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61204,
    "c": 0.13669,
    "h": 292.4
  },
  "luminance": 0.21642
}

Semantic roles & 50–950 ramp

primary
#8772CE
secondary
#D7DFBD
accent
#BC2A9A
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8772CE

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

Preview Lab → · Contrast checker → · Palette generator →

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