#8F77EC#8F77EC

#8F77EC is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.5% C 0.170 H 290.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8F77EC
RGBrgb(143, 119, 236)
HSLhsl(252, 75%, 70%)
HSVhsv(252, 50%, 93%)
CMYKcmyk(39.4%, 49.6%, 0%, 7.5%)
CIE-LABlab(57.16, 36.29, -56.15)
CIE-LCHlch(57.16, 66.85, 302.87°)
OKLaboklab(64.54% 0.0587 -0.1591)
OKLCHoklch(64.54% 0.17 290.3)
XYZxyz(33.0607, 25.0884, 82.4413)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F77EC #D4EC77
analogous
#7799EC #8F77EC #CA77EC
triadic
#8F77EC #EC8F77 #77EC8F
tetradic
#8F77EC #EC7799 #D4EC77 #77ECCA
square
#8F77EC #EC7799 #D4EC77 #77ECCA
split-complementary
#8F77EC #ECCA77 #99EC77
monochromatic
#411DCC #6341E4 #8F77EC #BBADF4 #E7E2FB

Accessibility & contrast

On white

3.49
#8F77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8F77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F77EC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F77EC#FFFFFF#000000##000000
##8F77EC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BF0
Deuteranopia (green-blind)
#4A87E9
Tritanopia (blue-blind)
#768FA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f77ec;
/* rgb */ color: rgb(143, 119, 236);
/* oklch */ color: oklch(64.5% 0.170 290.3);
Tailwind
colors: {
  custom: {
    50: '#b49ef3',
    500: '#8f77ec',
    950: '#000000',
  },
}
SCSS
$custom: #8f77ec;
$custom-light: #b49ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f77ec",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 252.308,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64544,
    "c": 0.16956,
    "h": 290.3
  },
  "luminance": 0.25089
}

Semantic roles & 50–950 ramp

primary
#8F77EC
secondary
#E9F0CF
accent
#D80EAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8F77EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8F77EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva