#8772EE#8772EE

#8772EE is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.179 H 287.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8772EE
RGBrgb(135, 114, 238)
HSLhsl(250, 78%, 69%)
HSVhsv(250, 52%, 93%)
CMYKcmyk(43.3%, 52.1%, 0%, 6.7%)
CIE-LABlab(55.44, 37.86, -60.06)
CIE-LCHlch(55.44, 71.00, 302.23°)
OKLaboklab(63.13% 0.0552 -0.1708)
OKLCHoklch(63.13% 0.179 287.9)
XYZxyz(31.4372, 23.3574, 83.7244)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772EE #D9EE72
analogous
#729BEE #8772EE #C572EE
triadic
#8772EE #EE8772 #72EE87
tetradic
#8772EE #EE729B #D9EE72 #72EEC5
square
#8772EE #EE729B #D9EE72 #72EEC5
split-complementary
#8772EE #EEC572 #9BEE72
monochromatic
#3719CD #593BE7 #8772EE #B5A9F5 #E4DFFB

Accessibility & contrast

On white

3.70
#8772EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8772EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772EE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772EE#FFFFFF#000000##000000
##8772EE1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F2
Deuteranopia (green-blind)
#3882EB
Tritanopia (blue-blind)
#688CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8772ee;
/* rgb */ color: rgb(135, 114, 238);
/* oklch */ color: oklch(63.1% 0.179 287.9);
Tailwind
colors: {
  custom: {
    50: '#af9bf4',
    500: '#8772ee',
    950: '#000000',
  },
}
SCSS
$custom: #8772ee;
$custom-light: #af9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8772ee",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 250.161,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.17947,
    "h": 287.9
  },
  "luminance": 0.23359
}

Semantic roles & 50–950 ramp

primary
#8772EE
secondary
#EAF0CC
accent
#DB0BB8
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8772EE

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

Preview Lab → · Contrast checker → · Palette generator →

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