#9E45D7#9E45D7

#9E45D7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.217 H 309.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9E45D7
RGBrgb(158, 69, 215)
HSLhsl(277, 65%, 56%)
HSVhsv(277, 68%, 84%)
CMYKcmyk(26.5%, 67.9%, 0%, 15.7%)
CIE-LABlab(47.54, 60.77, -59.67)
CIE-LCHlch(47.54, 85.17, 315.52°)
OKLaboklab(57.45% 0.1371 -0.1689)
OKLCHoklch(57.45% 0.217 309.1)
XYZxyz(28.4920, 16.4322, 65.9476)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E45D7 #7ED745
analogous
#5545D7 #9E45D7 #D745C7
triadic
#9E45D7 #D79E45 #45D79E
tetradic
#9E45D7 #D75545 #7ED745 #45C7D7
square
#9E45D7 #D75545 #7ED745 #45C7D7
split-complementary
#9E45D7 #C7D745 #45D755
monochromatic
#5C1D85 #7F27B7 #9E45D7 #B877E2 #D3AAED

Accessibility & contrast

On white

4.90
#9E45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9E45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E45D7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E45D7#FFFFFF#000000##FFFFFF
##9E45D71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#2972D4
Tritanopia (blue-blind)
#966589
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e45d7;
/* rgb */ color: rgb(158, 69, 215);
/* oklch */ color: oklch(57.4% 0.217 309.1);
Tailwind
colors: {
  custom: {
    50: '#bf7fe4',
    500: '#9e45d7',
    950: '#000000',
  },
}
SCSS
$custom: #9e45d7;
$custom-light: #bf7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e45d7",
  "rgb": {
    "r": 158,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 276.575,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.21748,
    "h": 309.1
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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