#9E78FC#9E78FC

#9E78FC is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.189 H 294.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9E78FC
RGBrgb(158, 120, 252)
HSLhsl(257, 96%, 73%)
HSVhsv(257, 52%, 99%)
CMYKcmyk(37.3%, 52.4%, 0%, 1.2%)
CIE-LABlab(59.64, 43.53, -60.96)
CIE-LCHlch(59.64, 74.91, 305.53°)
OKLaboklab(67.01% 0.0768 -0.1728)
OKLCHoklch(67.01% 0.189 294)
XYZxyz(38.3831, 27.7295, 95.4066)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E78FC #D6FC78
analogous
#7894FC #9E78FC #E078FC
triadic
#9E78FC #FC9E78 #78FC9E
tetradic
#9E78FC #FC7894 #D6FC78 #78FCE0
square
#9E78FC #FC7894 #D6FC78 #78FCE0
split-complementary
#9E78FC #FCE078 #94FC78
monochromatic
#4A05F4 #733CFB #9E78FC #C9B4FD #E9E1FE

Accessibility & contrast

On white

3.21
#9E78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9E78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E78FC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E78FC#FFFFFF#000000##000000
##9E78FC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#488DF9
Tritanopia (blue-blind)
#8793AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e78fc;
/* rgb */ color: rgb(158, 120, 252);
/* oklch */ color: oklch(67.0% 0.189 294.0);
Tailwind
colors: {
  custom: {
    50: '#bfa0fe',
    500: '#9e78fc',
    950: '#000000',
  },
}
SCSS
$custom: #9e78fc;
$custom-light: #bfa0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e78fc",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 257.273,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67009,
    "c": 0.18908,
    "h": 294
  },
  "luminance": 0.2773
}

Semantic roles & 50–950 ramp

primary
#9E78FC
secondary
#EDF7D4
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9E78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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