#9E45BB#9E45BB

#9E45BB is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.190 H 316.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E45BB
RGBrgb(158, 69, 187)
HSLhsl(285, 46%, 50%)
HSVhsv(285, 63%, 73%)
CMYKcmyk(15.5%, 63.1%, 0%, 26.7%)
CIE-LABlab(45.79, 54.86, -46.31)
CIE-LCHlch(45.79, 71.79, 319.83°)
OKLaboklab(55.63% 0.1386 -0.1297)
OKLCHoklch(55.63% 0.19 316.9)
XYZxyz(25.1970, 15.1142, 48.5941)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45BB #62BB45
analogous
#6345BB #9E45BB #BB459D
triadic
#9E45BB #BB9E45 #45BB9E
tetradic
#9E45BB #BB6345 #62BB45 #459DBB
square
#9E45BB #BB6345 #62BB45 #459DBB
split-complementary
#9E45BB #9DBB45 #45BB63
monochromatic
#532462 #78348F #9E45BB #B572CB #CD9FDC

Accessibility & contrast

On white

5.22
#9E45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9E45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45BB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45BB#FFFFFF#000000##FFFFFF
##9E45BB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#9D5A7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e45bb;
/* rgb */ color: rgb(158, 69, 187);
/* oklch */ color: oklch(55.6% 0.190 316.9);
Tailwind
colors: {
  custom: {
    50: '#be7ed0',
    500: '#9e45bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e45bb;
$custom-light: #be7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45bb",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 285.254,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.18984,
    "h": 316.9
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#9E45BB
secondary
#A0C894
accent
#D65272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9E45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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