#9E45E5#9E45E5

#9E45E5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.231 H 305.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E45E5
RGBrgb(158, 69, 229)
HSLhsl(273, 75%, 58%)
HSVhsv(273, 70%, 90%)
CMYKcmyk(31%, 69.9%, 0%, 10.2%)
CIE-LABlab(48.49, 63.85, -66.09)
CIE-LCHlch(48.49, 91.89, 314.01°)
OKLaboklab(58.43% 0.1353 -0.1877)
OKLCHoklch(58.43% 0.231 305.8)
XYZxyz(30.3684, 17.1827, 75.8303)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45E5 #8CE545
analogous
#4E45E5 #9E45E5 #E545DC
triadic
#9E45E5 #E59E45 #45E59E
tetradic
#9E45E5 #E54E45 #8CE545 #45DCE5
square
#9E45E5 #E54E45 #8CE545 #45DCE5
split-complementary
#9E45E5 #DCE545 #45E54E
monochromatic
#5F169A #801DD0 #9E45E5 #BA7BED #D6B0F4

Accessibility & contrast

On white

4.73
#9E45E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9E45E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45E5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45E5#FFFFFF#000000##FFFFFF
##9E45E51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#916A90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e45e5;
/* rgb */ color: rgb(158, 69, 229);
/* oklch */ color: oklch(58.4% 0.231 305.8);
Tailwind
colors: {
  custom: {
    50: '#c080ee',
    500: '#9e45e5',
    950: '#000000',
  },
}
SCSS
$custom: #9e45e5;
$custom-light: #c080ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45e5",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 273.375,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.23139,
    "h": 305.8
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#9E45E5
secondary
#BFE3A3
accent
#F23689
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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