#9D57E5#9D57E5

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

Color values

HEX#9D57E5
RGBrgb(157, 87, 229)
HSLhsl(270, 73%, 62%)
HSVhsv(270, 62%, 90%)
CMYKcmyk(31.4%, 62%, 0%, 10.2%)
CIE-LABlab(51.43, 55.20, -61.35)
CIE-LCHlch(51.43, 82.52, 311.98°)
OKLaboklab(60.51% 0.1147 -0.1739)
OKLCHoklch(60.51% 0.208 303.4)
XYZxyz(31.4525, 19.6417, 76.2478)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57E5 #9FE557
analogous
#5758E5 #9D57E5 #E457E5
triadic
#9D57E5 #E59D57 #57E59D
tetradic
#9D57E5 #E55758 #9FE557 #57E5E4
square
#9D57E5 #E55758 #9FE557 #57E5E4
split-complementary
#9D57E5 #E5E457 #58E557
monochromatic
#601AA8 #7E22DD #9D57E5 #BC8CED #DBC1F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D57E5#FFFFFF#000000##000000
##9D57E51.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)
#0079E9
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#8F7596
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d57e5;
/* rgb */ color: rgb(157, 87, 229);
/* oklch */ color: oklch(60.5% 0.208 303.4);
Tailwind
colors: {
  custom: {
    50: '#be8aee',
    500: '#9d57e5',
    950: '#000000',
  },
}
SCSS
$custom: #9d57e5;
$custom-light: #be8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57e5",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 269.577,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.20833,
    "h": 303.4
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

primary
#9D57E5
secondary
#CCE6B2
accent
#D51074
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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