#9E78EE#9E78EE

#9E78EE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.2% C 0.171 H 296.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9E78EE
RGBrgb(158, 120, 238)
HSLhsl(259, 78%, 70%)
HSVhsv(259, 50%, 93%)
CMYKcmyk(33.6%, 49.6%, 0%, 6.7%)
CIE-LABlab(58.86, 39.92, -54.47)
CIE-LCHlch(58.86, 67.54, 306.24°)
OKLaboklab(66.17% 0.0759 -0.1537)
OKLCHoklch(66.17% 0.171 296.3)
XYZxyz(36.2458, 26.8745, 84.1500)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E78EE #C8EE78
analogous
#788DEE #9E78EE #D978EE
triadic
#9E78EE #EE9E78 #78EE9E
tetradic
#9E78EE #EE788D #C8EE78 #78EED9
square
#9E78EE #EE788D #C8EE78 #78EED9
split-complementary
#9E78EE #EED978 #8DEE78
monochromatic
#551AD1 #7742E7 #9E78EE #C5AEF5 #EBE4FC

Accessibility & contrast

On white

3.29
#9E78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9E78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E78EE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E78EE#FFFFFF#000000##000000
##9E78EE1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#8C8FA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e78ee;
/* rgb */ color: rgb(158, 120, 238);
/* oklch */ color: oklch(66.2% 0.171 296.3);
Tailwind
colors: {
  custom: {
    50: '#bea0f4',
    500: '#9e78ee',
    950: '#000000',
  },
}
SCSS
$custom: #9e78ee;
$custom-light: #bea0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e78ee",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 259.322,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66171,
    "c": 0.17144,
    "h": 296.3
  },
  "luminance": 0.26875
}

Semantic roles & 50–950 ramp

primary
#9E78EE
secondary
#E7F1D1
accent
#DA0C97
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9E78EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9E78EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva