#8772EC#8772EC

#8772EC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.0% C 0.177 H 288.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8772EC
RGBrgb(135, 114, 236)
HSLhsl(250, 76%, 69%)
HSVhsv(250, 52%, 93%)
CMYKcmyk(42.8%, 51.7%, 0%, 7.5%)
CIE-LABlab(55.32, 37.30, -59.14)
CIE-LCHlch(55.32, 69.92, 302.24°)
OKLaboklab(63% 0.0551 -0.1681)
OKLCHoklch(63% 0.177 288.2)
XYZxyz(31.1450, 23.2405, 82.1855)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772EC #D7EC72
analogous
#729AEC #8772EC #C472EC
triadic
#8772EC #EC8772 #72EC87
tetradic
#8772EC #EC729A #D7EC72 #72ECC4
square
#8772EC #EC729A #D7EC72 #72ECC4
split-complementary
#8772EC #ECC472 #9AEC72
monochromatic
#391BC9 #593CE5 #8772EC #B5A8F3 #E3DEFB

Accessibility & contrast

On white

3.72
#8772EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8772EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772EC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772EC#FFFFFF#000000##000000
##8772EC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#3A81E9
Tritanopia (blue-blind)
#698CA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8772ec;
/* rgb */ color: rgb(135, 114, 236);
/* oklch */ color: oklch(63.0% 0.177 288.2);
Tailwind
colors: {
  custom: {
    50: '#af9bf3',
    500: '#8772ec',
    950: '#000000',
  },
}
SCSS
$custom: #8772ec;
$custom-light: #af9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8772ec",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 250.328,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63002,
    "c": 0.17686,
    "h": 288.2
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#8772EC
secondary
#E9EFCB
accent
#D80DB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8772EC

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

Preview Lab → · Contrast checker → · Palette generator →

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