#9E45EA#9E45EA

#9E45EA is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.236 H 304.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E45EA
RGBrgb(158, 69, 234)
HSLhsl(272, 80%, 59%)
HSVhsv(272, 71%, 92%)
CMYKcmyk(32.5%, 70.5%, 0%, 8.2%)
CIE-LABlab(48.84, 64.97, -68.34)
CIE-LCHlch(48.84, 94.29, 313.55°)
OKLaboklab(58.79% 0.1345 -0.1943)
OKLCHoklch(58.79% 0.236 304.7)
XYZxyz(31.0766, 17.4660, 79.5600)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45EA #91EA45
analogous
#4C45EA #9E45EA #EA45E3
triadic
#9E45EA #EA9E45 #45EA9E
tetradic
#9E45EA #EA4C45 #91EA45 #45E3EA
square
#9E45EA #EA4C45 #91EA45 #45E3EA
split-complementary
#9E45EA #E3EA45 #45EA4C
monochromatic
#6012A2 #8019D9 #9E45EA #BB7CF0 #D7B3F6

Accessibility & contrast

On white

4.67
#9E45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9E45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45EA#FFFFFF#000000##FFFFFF
##9E45EA1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#906C93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e45ea;
/* rgb */ color: rgb(158, 69, 234);
/* oklch */ color: oklch(58.8% 0.236 304.7);
Tailwind
colors: {
  custom: {
    50: '#c080f2',
    500: '#9e45ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e45ea;
$custom-light: #c080f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45ea",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 272.364,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.23635,
    "h": 304.7
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#9E45EA
secondary
#C3E6A5
accent
#F6328C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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