#9E45C8#9E45C8

#9E45C8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.4% C 0.203 H 313.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9E45C8
RGBrgb(158, 69, 200)
HSLhsl(281, 54%, 53%)
HSVhsv(281, 66%, 78%)
CMYKcmyk(21%, 65.5%, 0%, 21.6%)
CIE-LABlab(46.57, 57.55, -52.60)
CIE-LCHlch(46.57, 77.97, 317.57°)
OKLaboklab(56.45% 0.1383 -0.1481)
OKLCHoklch(56.45% 0.203 313)
XYZxyz(26.6522, 15.6962, 56.2581)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45C8 #6FC845
analogous
#5C45C8 #9E45C8 #C845B1
triadic
#9E45C8 #C89E45 #45C89E
tetradic
#9E45C8 #C85C45 #6FC845 #45B1C8
square
#9E45C8 #C85C45 #6FC845 #45B1C8
split-complementary
#9E45C8 #B1C845 #45C85C
monochromatic
#582171 #7C2FA0 #9E45C8 #B774D6 #CFA3E4

Accessibility & contrast

On white

5.07
#9E45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9E45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45C8#FFFFFF#000000##FFFFFF
##9E45C81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#9A5F81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e45c8;
/* rgb */ color: rgb(158, 69, 200);
/* oklch */ color: oklch(56.4% 0.203 313.0);
Tailwind
colors: {
  custom: {
    50: '#be7fd9',
    500: '#9e45c8',
    950: '#000000',
  },
}
SCSS
$custom: #9e45c8;
$custom-light: #be7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45c8",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 280.763,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.20261,
    "h": 313
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#9E45C8
secondary
#AAD198
accent
#DE4A79
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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