#9E57E3#9E57E3

#9E57E3 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.206 H 304.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9E57E3
RGBrgb(158, 87, 227)
HSLhsl(270, 71%, 62%)
HSVhsv(270, 62%, 89%)
CMYKcmyk(30.4%, 61.7%, 0%, 11%)
CIE-LABlab(51.42, 54.94, -60.23)
CIE-LCHlch(51.42, 81.53, 312.37°)
OKLaboklab(60.49% 0.1161 -0.1706)
OKLCHoklch(60.49% 0.206 304.2)
XYZxyz(31.3708, 19.6317, 74.7948)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57E3 #9CE357
analogous
#5857E3 #9E57E3 #E357E2
triadic
#9E57E3 #E39E57 #57E39E
tetradic
#9E57E3 #E35857 #9CE357 #57E2E3
square
#9E57E3 #E35857 #9CE357 #57E2E3
split-complementary
#9E57E3 #E2E357 #57E358
monochromatic
#611BA4 #8024D9 #9E57E3 #BC8BEC #DBC0F4

Accessibility & contrast

On white

4.26
#9E57E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9E57E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57E3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57E3#FFFFFF#000000##000000
##9E57E31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#337AE0
Tritanopia (blue-blind)
#917495
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e57e3;
/* rgb */ color: rgb(158, 87, 227);
/* oklch */ color: oklch(60.5% 0.206 304.2);
Tailwind
colors: {
  custom: {
    50: '#bf8aed',
    500: '#9e57e3',
    950: '#000000',
  },
}
SCSS
$custom: #9e57e3;
$custom-light: #bf8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57e3",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 270.429,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.20636,
    "h": 304.2
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#9E57E3
secondary
#CBE5B1
accent
#D31271
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E57E3

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

Preview Lab → · Contrast checker → · Palette generator →

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