#8772EA#8772EA

#8772EA is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.9% C 0.174 H 288.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8772EA
RGBrgb(135, 114, 234)
HSLhsl(251, 74%, 68%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(42.3%, 51.3%, 0%, 8.2%)
CIE-LABlab(55.20, 36.74, -58.21)
CIE-LCHlch(55.20, 68.83, 302.26°)
OKLaboklab(62.88% 0.055 -0.1653)
OKLCHoklch(62.88% 0.174 288.4)
XYZxyz(30.8561, 23.1249, 80.6637)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772EA #D5EA72
analogous
#7299EA #8772EA #C372EA
triadic
#8772EA #EA8772 #72EA87
tetradic
#8772EA #EA7299 #D5EA72 #72EAC3
square
#8772EA #EA7299 #D5EA72 #72EAC3
split-complementary
#8772EA #EAC372 #99EA72
monochromatic
#3A1DC4 #5A3DE2 #8772EA #B4A7F2 #E2DDFA

Accessibility & contrast

On white

3.73
#8772EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8772EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772EA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772EA#FFFFFF#000000##000000
##8772EA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#6A8BA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8772ea;
/* rgb */ color: rgb(135, 114, 234);
/* oklch */ color: oklch(62.9% 0.174 288.4);
Tailwind
colors: {
  custom: {
    50: '#af9bf1',
    500: '#8772ea',
    950: '#000000',
  },
}
SCSS
$custom: #8772ea;
$custom-light: #af9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8772ea",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 250.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.17424,
    "h": 288.4
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#8772EA
secondary
#E8EECA
accent
#D60FB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8772EA

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

Preview Lab → · Contrast checker → · Palette generator →

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