#9E45CF#9E45CF

#9E45CF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.210 H 311.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9E45CF
RGBrgb(158, 69, 207)
HSLhsl(279, 59%, 54%)
HSVhsv(279, 67%, 81%)
CMYKcmyk(23.7%, 66.7%, 0%, 18.8%)
CIE-LABlab(47.02, 59.04, -55.93)
CIE-LCHlch(47.02, 81.32, 316.55°)
OKLaboklab(56.91% 0.1378 -0.1579)
OKLCHoklch(56.91% 0.21 311.1)
XYZxyz(27.4890, 16.0310, 60.6656)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45CF #76CF45
analogous
#5945CF #9E45CF #CF45BB
triadic
#9E45CF #CF9E45 #45CF9E
tetradic
#9E45CF #CF5945 #76CF45 #45BBCF
square
#9E45CF #CF5945 #76CF45 #45BBCF
split-complementary
#9E45CF #BBCF45 #45CF59
monochromatic
#5A207A #7E2CAB #9E45CF #B776DC #D1A6E8

Accessibility & contrast

On white

4.99
#9E45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9E45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45CF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45CF#FFFFFF#000000##FFFFFF
##9E45CF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#986184
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e45cf;
/* rgb */ color: rgb(158, 69, 207);
/* oklch */ color: oklch(56.9% 0.210 311.1);
Tailwind
colors: {
  custom: {
    50: '#bf7fde',
    500: '#9e45cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e45cf;
$custom-light: #bf7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45cf",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 278.696,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.20954,
    "h": 311.1
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#9E45CF
secondary
#AFD59B
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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