#8F78FA#8F78FA

#8F78FA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.6% C 0.186 H 288.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8F78FA
RGBrgb(143, 120, 250)
HSLhsl(251, 93%, 73%)
HSVhsv(251, 52%, 98%)
CMYKcmyk(42.8%, 52%, 0%, 2%)
CIE-LABlab(58.20, 39.55, -62.24)
CIE-LCHlch(58.20, 73.75, 302.43°)
OKLaboklab(65.58% 0.0585 -0.1769)
OKLCHoklch(65.58% 0.186 288.3)
XYZxyz(35.2946, 26.1734, 93.6163)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78FA #E3FA78
analogous
#78A2FA #8F78FA #D078FA
triadic
#8F78FA #FA8F78 #78FA8F
tetradic
#8F78FA #FA78A2 #E3FA78 #78FAD0
square
#8F78FA #FA78A2 #E3FA78 #78FAD0
split-complementary
#8F78FA #FAD078 #A2FA78
monochromatic
#3209EF #5E3DF8 #8F78FA #C0B3FC #E7E1FE

Accessibility & contrast

On white

3.37
#8F78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8F78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78FA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78FA#FFFFFF#000000##000000
##8F78FA1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFF
Deuteranopia (green-blind)
#3C89F7
Tritanopia (blue-blind)
#6F94AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f78fa;
/* rgb */ color: rgb(143, 120, 250);
/* oklch */ color: oklch(65.6% 0.186 288.3);
Tailwind
colors: {
  custom: {
    50: '#b59ffd',
    500: '#8f78fa',
    950: '#000000',
  },
}
SCSS
$custom: #8f78fa;
$custom-light: #b59ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78fa",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 250.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65581,
    "c": 0.18637,
    "h": 288.3
  },
  "luminance": 0.26175
}

Semantic roles & 50–950 ramp

primary
#8F78FA
secondary
#F0F6D5
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8F78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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