#9E45D8#9E45D8

#9E45D8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.218 H 308.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9E45D8
RGBrgb(158, 69, 216)
HSLhsl(276, 65%, 56%)
HSVhsv(276, 68%, 85%)
CMYKcmyk(26.9%, 68.1%, 0%, 15.3%)
CIE-LABlab(47.60, 60.98, -60.14)
CIE-LCHlch(47.60, 85.65, 315.40°)
OKLaboklab(57.51% 0.1369 -0.1702)
OKLCHoklch(57.51% 0.218 308.8)
XYZxyz(28.6208, 16.4837, 66.6264)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45D8 #7FD845
analogous
#5545D8 #9E45D8 #D845C8
triadic
#9E45D8 #D89E45 #45D89E
tetradic
#9E45D8 #D85545 #7FD845 #45C8D8
square
#9E45D8 #D85545 #7FD845 #45C8D8
split-complementary
#9E45D8 #C8D845 #45D855
monochromatic
#5D1C86 #7F27B9 #9E45D8 #B878E3 #D3AAED

Accessibility & contrast

On white

4.89
#9E45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9E45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45D8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45D8#FFFFFF#000000##FFFFFF
##9E45D81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#2772D5
Tritanopia (blue-blind)
#956589
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e45d8;
/* rgb */ color: rgb(158, 69, 216);
/* oklch */ color: oklch(57.5% 0.218 308.8);
Tailwind
colors: {
  custom: {
    50: '#bf7fe5',
    500: '#9e45d8',
    950: '#000000',
  },
}
SCSS
$custom: #9e45d8;
$custom-light: #bf7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45d8",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 276.327,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.21847,
    "h": 308.8
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#9E45D8
secondary
#B6DB9E
accent
#E84082
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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