#8772EB#8772EB

#8772EB is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.9% C 0.176 H 288.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8772EB
RGBrgb(135, 114, 235)
HSLhsl(250, 75%, 68%)
HSVhsv(250, 51%, 92%)
CMYKcmyk(42.6%, 51.5%, 0%, 7.8%)
CIE-LABlab(55.26, 37.02, -58.67)
CIE-LCHlch(55.26, 69.37, 302.25°)
OKLaboklab(62.94% 0.055 -0.1667)
OKLCHoklch(62.94% 0.176 288.3)
XYZxyz(31.0002, 23.1826, 81.4225)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772EB #D6EB72
analogous
#7299EB #8772EB #C372EB
triadic
#8772EB #EB8772 #72EB87
tetradic
#8772EB #EB7299 #D6EB72 #72EBC3
square
#8772EB #EB7299 #D6EB72 #72EBC3
split-complementary
#8772EB #EBC372 #99EB72
monochromatic
#3A1CC6 #593CE3 #8772EB #B5A8F3 #E2DDFA

Accessibility & contrast

On white

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

On black

5.64
#8772EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772EB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772EB#FFFFFF#000000##000000
##8772EB1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#6A8CA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8772eb;
/* rgb */ color: rgb(135, 114, 235);
/* oklch */ color: oklch(62.9% 0.176 288.3);
Tailwind
colors: {
  custom: {
    50: '#af9bf2',
    500: '#8772eb',
    950: '#000000',
  },
}
SCSS
$custom: #8772eb;
$custom-light: #af9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8772eb",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 250.413,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62938,
    "c": 0.17555,
    "h": 288.3
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#8772EB
secondary
#E8EFCA
accent
#D70EB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8772EB

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

Preview Lab → · Contrast checker → · Palette generator →

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