#8F78FD#8F78FD

#8F78FD is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.190 H 288.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8F78FD
RGBrgb(143, 120, 253)
HSLhsl(250, 97%, 73%)
HSVhsv(250, 53%, 99%)
CMYKcmyk(43.5%, 52.6%, 0%, 0.8%)
CIE-LABlab(58.38, 40.38, -63.61)
CIE-LCHlch(58.38, 75.35, 302.41°)
OKLaboklab(65.77% 0.0586 -0.181)
OKLCHoklch(65.77% 0.19 288)
XYZxyz(35.7687, 26.3631, 96.1134)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78FD #E6FD78
analogous
#78A3FD #8F78FD #D178FD
triadic
#8F78FD #FD8F78 #78FD8F
tetradic
#8F78FD #FD78A3 #E6FD78 #78FDD1
square
#8F78FD #FD78A3 #E6FD78 #78FDD1
split-complementary
#8F78FD #FDD178 #A3FD78
monochromatic
#2E04F7 #5D3CFC #8F78FD #C1B4FE #E6E1FF

Accessibility & contrast

On white

3.35
#8F78FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8F78FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78FD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78FD#FFFFFF#000000##000000
##8F78FD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#378FFF
Deuteranopia (green-blind)
#3789FA
Tritanopia (blue-blind)
#6E94AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f78fd;
/* rgb */ color: rgb(143, 120, 253);
/* oklch */ color: oklch(65.8% 0.190 288.0);
Tailwind
colors: {
  custom: {
    50: '#b69fff',
    500: '#8f78fd',
    950: '#000000',
  },
}
SCSS
$custom: #8f78fd;
$custom-light: #b69fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78fd",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 250.376,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65772,
    "c": 0.19023,
    "h": 288
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#8F78FD
secondary
#F1F7D4
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8F78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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