#8F78EE#8F78EE

#8F78EE is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.8% C 0.171 H 289.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8F78EE
RGBrgb(143, 120, 238)
HSLhsl(252, 78%, 70%)
HSVhsv(252, 50%, 93%)
CMYKcmyk(39.9%, 49.6%, 0%, 6.7%)
CIE-LABlab(57.51, 36.25, -56.71)
CIE-LCHlch(57.51, 67.31, 302.59°)
OKLaboklab(64.84% 0.0577 -0.1607)
OKLCHoklch(64.84% 0.171 289.7)
XYZxyz(33.4725, 25.4446, 84.0200)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78EE #D7EE78
analogous
#789CEE #8F78EE #CA78EE
triadic
#8F78EE #EE8F78 #78EE8F
tetradic
#8F78EE #EE789C #D7EE78 #78EECA
square
#8F78EE #EE789C #D7EE78 #78EECA
split-complementary
#8F78EE #EECA78 #9CEE78
monochromatic
#3E1AD1 #6242E7 #8F78EE #BCAEF5 #E8E4FC

Accessibility & contrast

On white

3.45
#8F78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8F78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78EE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78EE#FFFFFF#000000##000000
##8F78EE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF2
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#7590A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f78ee;
/* rgb */ color: rgb(143, 120, 238);
/* oklch */ color: oklch(64.8% 0.171 289.7);
Tailwind
colors: {
  custom: {
    50: '#b49ff4',
    500: '#8f78ee',
    950: '#000000',
  },
}
SCSS
$custom: #8f78ee;
$custom-light: #b49ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78ee",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 251.695,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.17074,
    "h": 289.7
  },
  "luminance": 0.25446
}

Semantic roles & 50–950 ramp

primary
#8F78EE
secondary
#EBF1D1
accent
#DA0CB2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8F78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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