#9E45CA#9E45CA

#9E45CA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.6% C 0.205 H 312.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9E45CA
RGBrgb(158, 69, 202)
HSLhsl(280, 56%, 53%)
HSVhsv(280, 66%, 79%)
CMYKcmyk(21.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(46.70, 57.98, -53.56)
CIE-LCHlch(46.70, 78.93, 317.27°)
OKLaboklab(56.58% 0.1381 -0.1509)
OKLCHoklch(56.58% 0.205 312.5)
XYZxyz(26.8874, 15.7903, 57.4971)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45CA #71CA45
analogous
#5B45CA #9E45CA #CA45B4
triadic
#9E45CA #CA9E45 #45CA9E
tetradic
#9E45CA #CA5B45 #71CA45 #45B4CA
square
#9E45CA #CA5B45 #71CA45 #45B4CA
split-complementary
#9E45CA #B4CA45 #45CA5B
monochromatic
#582174 #7D2FA3 #9E45CA #B775D8 #D0A4E5

Accessibility & contrast

On white

5.05
#9E45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9E45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45CA#FFFFFF#000000##FFFFFF
##9E45CA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#996082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e45ca;
/* rgb */ color: rgb(158, 69, 202);
/* oklch */ color: oklch(56.6% 0.205 312.5);
Tailwind
colors: {
  custom: {
    50: '#be7fdb',
    500: '#9e45ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e45ca;
$custom-light: #be7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45ca",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 280.15,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56577,
    "c": 0.20459,
    "h": 312.5
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#9E45CA
secondary
#ACD299
accent
#DF497B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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