#9D57E2#9D57E2

#9D57E2 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.205 H 304.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9D57E2
RGBrgb(157, 87, 226)
HSLhsl(270, 71%, 61%)
HSVhsv(270, 62%, 89%)
CMYKcmyk(30.5%, 61.5%, 0%, 11.4%)
CIE-LABlab(51.24, 54.49, -59.96)
CIE-LCHlch(51.24, 81.02, 312.26°)
OKLaboklab(60.31% 0.1149 -0.1698)
OKLCHoklch(60.31% 0.205 304.1)
XYZxyz(31.0372, 19.4756, 74.0608)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57E2 #9CE257
analogous
#5857E2 #9D57E2 #E257E1
triadic
#9D57E2 #E29D57 #57E29D
tetradic
#9D57E2 #E25857 #9CE257 #57E1E2
square
#9D57E2 #E25857 #9CE257 #57E1E2
split-complementary
#9D57E2 #E1E257 #57E258
monochromatic
#601CA3 #7F25D7 #9D57E2 #BB8BEB #DABFF4

Accessibility & contrast

On white

4.29
#9D57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9D57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57E2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57E2#FFFFFF#000000##000000
##9D57E21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#337ADF
Tritanopia (blue-blind)
#907495
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d57e2;
/* rgb */ color: rgb(157, 87, 226);
/* oklch */ color: oklch(60.3% 0.205 304.1);
Tailwind
colors: {
  custom: {
    50: '#be8aec',
    500: '#9d57e2',
    950: '#000000',
  },
}
SCSS
$custom: #9d57e2;
$custom-light: #be8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57e2",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 270.216,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60313,
    "c": 0.20503,
    "h": 304.1
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#9D57E2
secondary
#CAE4B0
accent
#D31372
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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