#8F78E5#8F78E5

#8F78E5 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.3% C 0.159 H 291.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8F78E5
RGBrgb(143, 120, 229)
HSLhsl(253, 68%, 68%)
HSVhsv(253, 48%, 90%)
CMYKcmyk(37.6%, 47.6%, 0%, 10.2%)
CIE-LABlab(57.01, 33.82, -52.49)
CIE-LCHlch(57.01, 62.44, 302.79°)
OKLaboklab(64.3% 0.0568 -0.1483)
OKLCHoklch(64.3% 0.159 291)
XYZxyz(32.1832, 24.9289, 77.2296)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78E5 #CEE578
analogous
#7897E5 #8F78E5 #C678E5
triadic
#8F78E5 #E58F78 #78E58F
tetradic
#8F78E5 #E57897 #CEE578 #78E5C6
square
#8F78E5 #E57897 #CEE578 #78E5C6
split-complementary
#8F78E5 #E5C678 #97E578
monochromatic
#4525BE #6445DB #8F78E5 #BAABEF #E4DFF9

Accessibility & contrast

On white

3.51
#8F78E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8F78E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78E5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78E5#FFFFFF#000000##000000
##8F78E51.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BE9
Deuteranopia (green-blind)
#5287E2
Tritanopia (blue-blind)
#798EA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f78e5;
/* rgb */ color: rgb(143, 120, 229);
/* oklch */ color: oklch(64.3% 0.159 291.0);
Tailwind
colors: {
  custom: {
    50: '#b39fee',
    500: '#8f78e5',
    950: '#000000',
  },
}
SCSS
$custom: #8f78e5;
$custom-light: #b39fee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78e5",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 252.661,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.15885,
    "h": 291
  },
  "luminance": 0.2493
}

Semantic roles & 50–950 ramp

primary
#8F78E5
secondary
#E6EDCC
accent
#D016A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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