#9E45BC#9E45BC

#9E45BC is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.191 H 316.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9E45BC
RGBrgb(158, 69, 188)
HSLhsl(285, 47%, 50%)
HSVhsv(285, 63%, 74%)
CMYKcmyk(16%, 63.3%, 0%, 26.3%)
CIE-LABlab(45.85, 55.07, -46.80)
CIE-LCHlch(45.85, 72.26, 319.64°)
OKLaboklab(55.69% 0.1386 -0.1311)
OKLCHoklch(55.69% 0.191 316.6)
XYZxyz(25.3044, 15.1571, 49.1599)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45BC #63BC45
analogous
#6245BC #9E45BC #BC459E
triadic
#9E45BC #BC9E45 #45BC9E
tetradic
#9E45BC #BC6245 #63BC45 #459EBC
square
#9E45BC #BC6245 #63BC45 #459EBC
split-complementary
#9E45BC #9EBC45 #45BC62
monochromatic
#532463 #793490 #9E45BC #B572CC #CD9FDC

Accessibility & contrast

On white

5.21
#9E45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9E45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45BC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45BC#FFFFFF#000000##FFFFFF
##9E45BC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#9D5A7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e45bc;
/* rgb */ color: rgb(158, 69, 188);
/* oklch */ color: oklch(55.7% 0.191 316.6);
Tailwind
colors: {
  custom: {
    50: '#be7ed1',
    500: '#9e45bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e45bc;
$custom-light: #be7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45bc",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 284.874,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.19082,
    "h": 316.6
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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