#8F78EA#8F78EA

#8F78EA is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.6% C 0.165 H 290.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8F78EA
RGBrgb(143, 120, 234)
HSLhsl(252, 73%, 69%)
HSVhsv(252, 49%, 92%)
CMYKcmyk(38.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(57.28, 35.17, -54.84)
CIE-LCHlch(57.28, 65.15, 302.67°)
OKLaboklab(64.6% 0.0573 -0.1552)
OKLCHoklch(64.6% 0.165 290.3)
XYZxyz(32.8914, 25.2121, 80.9594)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78EA #D3EA78
analogous
#789AEA #8F78EA #C878EA
triadic
#8F78EA #EA8F78 #78EA8F
tetradic
#8F78EA #EA789A #D3EA78 #78EAC8
square
#8F78EA #EA789A #D3EA78 #78EAC8
split-complementary
#8F78EA #EAC878 #9AEA78
monochromatic
#411FC8 #6343E2 #8F78EA #BBADF2 #E7E2FA

Accessibility & contrast

On white

3.48
#8F78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8F78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78EA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78EA#FFFFFF#000000##000000
##8F78EA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#778FA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f78ea;
/* rgb */ color: rgb(143, 120, 234);
/* oklch */ color: oklch(64.6% 0.165 290.3);
Tailwind
colors: {
  custom: {
    50: '#b49ff1',
    500: '#8f78ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f78ea;
$custom-light: #b49ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78ea",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 252.105,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64598,
    "c": 0.16548,
    "h": 290.3
  },
  "luminance": 0.25213
}

Semantic roles & 50–950 ramp

primary
#8F78EA
secondary
#E9EFCE
accent
#D510AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8F78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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