#8F78DC#8F78DC

#8F78DC is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.8% C 0.147 H 292.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F78DC
RGBrgb(143, 120, 220)
HSLhsl(254, 59%, 67%)
HSVhsv(254, 45%, 86%)
CMYKcmyk(35%, 45.5%, 0%, 13.7%)
CIE-LABlab(56.52, 31.42, -48.21)
CIE-LCHlch(56.52, 57.54, 303.09°)
OKLaboklab(63.78% 0.0557 -0.1358)
OKLCHoklch(63.78% 0.147 292.3)
XYZxyz(30.9591, 24.4392, 70.7824)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78DC #C5DC78
analogous
#7893DC #8F78DC #C178DC
triadic
#8F78DC #DC8F78 #78DC8F
tetradic
#8F78DC #DC7893 #C5DC78 #78DCC1
square
#8F78DC #DC7893 #C5DC78 #78DCC1
split-complementary
#8F78DC #DCC178 #93DC78
monochromatic
#4A2DAD #6747CF #8F78DC #B7A9E9 #E0D9F5

Accessibility & contrast

On white

3.57
#8F78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8F78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78DC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78DC#FFFFFF#000000##000000
##8F78DC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#7C8B9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f78dc;
/* rgb */ color: rgb(143, 120, 220);
/* oklch */ color: oklch(63.8% 0.147 292.3);
Tailwind
colors: {
  custom: {
    50: '#b39fe7',
    500: '#8f78dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f78dc;
$custom-light: #b39fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78dc",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 253.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63784,
    "c": 0.14681,
    "h": 292.3
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#8F78DC
secondary
#E1E8C8
accent
#C61FA0
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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