#9D57DF#9D57DF

#9D57DF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.202 H 304.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9D57DF
RGBrgb(157, 87, 223)
HSLhsl(271, 68%, 61%)
HSVhsv(271, 61%, 87%)
CMYKcmyk(29.6%, 61%, 0%, 12.5%)
CIE-LABlab(51.05, 53.78, -58.57)
CIE-LCHlch(51.05, 79.52, 312.56°)
OKLaboklab(60.12% 0.115 -0.1657)
OKLCHoklch(60.12% 0.202 304.8)
XYZxyz(30.6292, 19.3124, 71.9118)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57DF #99DF57
analogous
#5957DF #9D57DF #DF57DD
triadic
#9D57DF #DF9D57 #57DF9D
tetradic
#9D57DF #DF5957 #99DF57 #57DDDF
square
#9D57DF #DF5957 #99DF57 #57DDDF
split-complementary
#9D57DF #DDDF57 #57DF59
monochromatic
#601E9E #7F28D1 #9D57DF #BB8AE9 #D9BEF3

Accessibility & contrast

On white

4.32
#9D57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9D57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57DF#FFFFFF#000000##000000
##9D57DF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0278E3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#917393
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d57df;
/* rgb */ color: rgb(157, 87, 223);
/* oklch */ color: oklch(60.1% 0.202 304.8);
Tailwind
colors: {
  custom: {
    50: '#be8aea',
    500: '#9d57df',
    950: '#000000',
  },
}
SCSS
$custom: #9d57df;
$custom-light: #be8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57df",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 270.882,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.20172,
    "h": 304.8
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#9D57DF
secondary
#C8E3AF
accent
#D01670
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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