#8F78C8#8F78C8

#8F78C8 is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.7% C 0.120 H 296.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8F78C8
RGBrgb(143, 120, 200)
HSLhsl(257, 42%, 63%)
HSVhsv(257, 40%, 78%)
CMYKcmyk(28.5%, 40%, 0%, 21.6%)
CIE-LABlab(55.53, 26.23, -38.49)
CIE-LCHlch(55.53, 46.58, 304.28°)
OKLaboklab(62.7% 0.0525 -0.1075)
OKLCHoklch(62.7% 0.12 296)
XYZxyz(28.4670, 23.4424, 57.6574)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F78C8 #B1C878
analogous
#7889C8 #8F78C8 #B778C8
triadic
#8F78C8 #C88F78 #78C88F
tetradic
#8F78C8 #C87889 #B1C878 #78C8B7
square
#8F78C8 #C87889 #B1C878 #78C8B7
split-complementary
#8F78C8 #C8B778 #89C878
monochromatic
#51398C #6B4DB6 #8F78C8 #B3A3DA #D7CFEB

Accessibility & contrast

On white

3.69
#8F78C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8F78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F78C8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F78C8#FFFFFF#000000##000000
##8F78C81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6285CB
Deuteranopia (green-blind)
#6584C6
Tritanopia (blue-blind)
#838696
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f78c8;
/* rgb */ color: rgb(143, 120, 200);
/* oklch */ color: oklch(62.7% 0.120 296.0);
Tailwind
colors: {
  custom: {
    50: '#b19fd9',
    500: '#8f78c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f78c8;
$custom-light: #b19fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f78c8",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 257.25,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62702,
    "c": 0.11963,
    "h": 296
  },
  "luminance": 0.23443
}

Semantic roles & 50–950 ramp

primary
#8F78C8
secondary
#D4DCBF
accent
#B5308F
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #8F78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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