#8F78CA#8F78CA

#8F78CA is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.8% C 0.122 H 295.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8F78CA
RGBrgb(143, 120, 202)
HSLhsl(257, 44%, 63%)
HSVhsv(257, 41%, 79%)
CMYKcmyk(29.2%, 40.6%, 0%, 20.8%)
CIE-LABlab(55.62, 26.74, -39.47)
CIE-LCHlch(55.62, 47.68, 304.12°)
OKLaboklab(62.81% 0.0528 -0.1104)
OKLCHoklch(62.81% 0.122 295.6)
XYZxyz(28.7022, 23.5365, 58.8965)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78CA #B3CA78
analogous
#788ACA #8F78CA #B878CA
triadic
#8F78CA #CA8F78 #78CA8F
tetradic
#8F78CA #CA788A #B3CA78 #78CAB8
square
#8F78CA #CA788A #B3CA78 #78CAB8
split-complementary
#8F78CA #CAB878 #8ACA78
monochromatic
#51388F #6B4CB9 #8F78CA #B3A4DB #D8D0ED

Accessibility & contrast

On white

3.68
#8F78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8F78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78CA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78CA#FFFFFF#000000##000000
##8F78CA1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CD
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#828797
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f78ca;
/* rgb */ color: rgb(143, 120, 202);
/* oklch */ color: oklch(62.8% 0.122 295.6);
Tailwind
colors: {
  custom: {
    50: '#b29fda',
    500: '#8f78ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f78ca;
$custom-light: #b29fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78ca",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 256.829,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.12237,
    "h": 295.6
  },
  "luminance": 0.23537
}

Semantic roles & 50–950 ramp

primary
#8F78CA
secondary
#D5DEC0
accent
#B72F91
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8F78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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