#9E45BD#9E45BD

#9E45BD is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.192 H 316.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9E45BD
RGBrgb(158, 69, 189)
HSLhsl(285, 48%, 51%)
HSVhsv(285, 63%, 74%)
CMYKcmyk(16.4%, 63.5%, 0%, 25.9%)
CIE-LABlab(45.91, 55.27, -47.28)
CIE-LCHlch(45.91, 72.74, 319.45°)
OKLaboklab(55.75% 0.1386 -0.1325)
OKLCHoklch(55.75% 0.192 316.3)
XYZxyz(25.4126, 15.2004, 49.7296)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45BD #64BD45
analogous
#6245BD #9E45BD #BD45A0
triadic
#9E45BD #BD9E45 #45BD9E
tetradic
#9E45BD #BD6245 #64BD45 #45A0BD
square
#9E45BD #BD6245 #64BD45 #45A0BD
split-complementary
#9E45BD #A0BD45 #45BD62
monochromatic
#532464 #793491 #9E45BD #B672CD #CD9FDD

Accessibility & contrast

On white

5.20
#9E45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9E45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45BD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45BD#FFFFFF#000000##FFFFFF
##9E45BD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#9C5B7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e45bd;
/* rgb */ color: rgb(158, 69, 189);
/* oklch */ color: oklch(55.8% 0.192 316.3);
Tailwind
colors: {
  custom: {
    50: '#be7ed1',
    500: '#9e45bd',
    950: '#000000',
  },
}
SCSS
$custom: #9e45bd;
$custom-light: #be7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45bd",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 284.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.19179,
    "h": 316.3
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#9E45BD
secondary
#A2CA94
accent
#D75173
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9E45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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