#9E45BE#9E45BE

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

Color values

HEX#9E45BE
RGBrgb(158, 69, 190)
HSLhsl(284, 48%, 51%)
HSVhsv(284, 64%, 75%)
CMYKcmyk(16.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(45.97, 55.47, -47.77)
CIE-LCHlch(45.97, 73.21, 319.27°)
OKLaboklab(55.82% 0.1386 -0.134)
OKLCHoklch(55.82% 0.193 316)
XYZxyz(25.5215, 15.2440, 50.3032)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45BE #65BE45
analogous
#6145BE #9E45BE #BE45A1
triadic
#9E45BE #BE9E45 #45BE9E
tetradic
#9E45BE #BE6145 #65BE45 #45A1BE
square
#9E45BE #BE6145 #65BE45 #45A1BE
split-complementary
#9E45BE #A1BE45 #45BE61
monochromatic
#542365 #793393 #9E45BE #B672CE #CDA0DE

Accessibility & contrast

On white

5.19
#9E45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9E45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45BE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45BE#FFFFFF#000000##FFFFFF
##9E45BE1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C2
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#9C5B7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e45be;
/* rgb */ color: rgb(158, 69, 190);
/* oklch */ color: oklch(55.8% 0.193 316.0);
Tailwind
colors: {
  custom: {
    50: '#be7ed2',
    500: '#9e45be',
    950: '#000000',
  },
}
SCSS
$custom: #9e45be;
$custom-light: #be7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45be",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 284.132,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.19278,
    "h": 316
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#9E45BE
secondary
#A3CA95
accent
#D85074
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9E45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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