#9E45BF#9E45BF

#9E45BF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.194 H 315.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9E45BF
RGBrgb(158, 69, 191)
HSLhsl(284, 49%, 51%)
HSVhsv(284, 64%, 75%)
CMYKcmyk(17.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(46.03, 55.68, -48.26)
CIE-LCHlch(46.03, 73.68, 319.08°)
OKLaboklab(55.88% 0.1386 -0.1354)
OKLCHoklch(55.88% 0.194 315.7)
XYZxyz(25.6312, 15.2878, 50.8808)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45BF #66BF45
analogous
#6145BF #9E45BF #BF45A3
triadic
#9E45BF #BF9E45 #45BF9E
tetradic
#9E45BF #BF6145 #66BF45 #45A3BF
square
#9E45BF #BF6145 #66BF45 #45A3BF
split-complementary
#9E45BF #A3BF45 #45BF61
monochromatic
#542366 #7A3394 #9E45BF #B673CF #CDA0DE

Accessibility & contrast

On white

5.18
#9E45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9E45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45BF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45BF#FFFFFF#000000##FFFFFF
##9E45BF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#9C5B7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e45bf;
/* rgb */ color: rgb(158, 69, 191);
/* oklch */ color: oklch(55.9% 0.194 315.7);
Tailwind
colors: {
  custom: {
    50: '#be7ed3',
    500: '#9e45bf',
    950: '#000000',
  },
}
SCSS
$custom: #9e45bf;
$custom-light: #be7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45bf",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 283.77,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.19375,
    "h": 315.7
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#9E45BF
secondary
#A3CB95
accent
#D84F74
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9E45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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