#8772E8#8772E8

#8772E8 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.7% C 0.172 H 288.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8772E8
RGBrgb(135, 114, 232)
HSLhsl(251, 72%, 68%)
HSVhsv(251, 51%, 91%)
CMYKcmyk(41.8%, 50.9%, 0%, 9%)
CIE-LABlab(55.08, 36.18, -57.28)
CIE-LCHlch(55.08, 67.75, 302.28°)
OKLaboklab(62.75% 0.0548 -0.1626)
OKLCHoklch(62.75% 0.172 288.6)
XYZxyz(30.5704, 23.0107, 79.1591)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772E8 #D3E872
analogous
#7298E8 #8772E8 #C272E8
triadic
#8772E8 #E88772 #72E887
tetradic
#8772E8 #E87298 #D3E872 #72E8C2
square
#8772E8 #E87298 #D3E872 #72E8C2
split-complementary
#8772E8 #E8C272 #98E872
monochromatic
#3C1FC0 #5A3DDF #8772E8 #B4A7F1 #E1DBF9

Accessibility & contrast

On white

3.75
#8772E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8772E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772E8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772E8#FFFFFF#000000##000000
##8772E81.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EC
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#6B8BA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8772e8;
/* rgb */ color: rgb(135, 114, 232);
/* oklch */ color: oklch(62.7% 0.172 288.6);
Tailwind
colors: {
  custom: {
    50: '#af9bf0',
    500: '#8772e8',
    950: '#000000',
  },
}
SCSS
$custom: #8772e8;
$custom-light: #af9bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8772e8",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 250.678,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6275,
    "c": 0.17161,
    "h": 288.6
  },
  "luminance": 0.23012
}

Semantic roles & 50–950 ramp

primary
#8772E8
secondary
#E7EDC9
accent
#D411B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8772E8

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

Preview Lab → · Contrast checker → · Palette generator →

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