#8E78C8#8E78C8

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

Color values

HEX#8E78C8
RGBrgb(142, 120, 200)
HSLhsl(257, 42%, 63%)
HSVhsv(257, 40%, 78%)
CMYKcmyk(29%, 40%, 0%, 21.6%)
CIE-LABlab(55.43, 25.95, -38.64)
CIE-LCHlch(55.43, 46.54, 303.89°)
OKLaboklab(62.61% 0.0513 -0.108)
OKLCHoklch(62.61% 0.12 295.4)
XYZxyz(28.2946, 23.3535, 57.6494)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E78C8 #B2C878
analogous
#788AC8 #8E78C8 #B678C8
triadic
#8E78C8 #C88E78 #78C88E
tetradic
#8E78C8 #C8788A #B2C878 #78C8B6
square
#8E78C8 #C8788A #B2C878 #78C8B6
split-complementary
#8E78C8 #C8B678 #8AC878
monochromatic
#50398C #6A4DB6 #8E78C8 #B2A3DA #D7CFEB

Accessibility & contrast

On white

3.70
#8E78C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8E78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E78C8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E78C8#FFFFFF#000000##000000
##8E78C81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e78c8;
/* rgb */ color: rgb(142, 120, 200);
/* oklch */ color: oklch(62.6% 0.120 295.4);
Tailwind
colors: {
  custom: {
    50: '#b19fd9',
    500: '#8e78c8',
    950: '#000000',
  },
}
SCSS
$custom: #8e78c8;
$custom-light: #b19fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e78c8",
  "rgb": {
    "r": 142,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 256.5,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62612,
    "c": 0.11952,
    "h": 295.4
  },
  "luminance": 0.23354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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