#9D57CF#9D57CF

#9D57CF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.1% C 0.184 H 308.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9D57CF
RGBrgb(157, 87, 207)
HSLhsl(275, 56%, 58%)
HSVhsv(275, 58%, 81%)
CMYKcmyk(24.2%, 58%, 0%, 18.8%)
CIE-LABlab(50.09, 50.10, -51.01)
CIE-LCHlch(50.09, 71.50, 314.48°)
OKLaboklab(59.1% 0.1152 -0.1436)
OKLCHoklch(59.1% 0.184 308.7)
XYZxyz(28.5731, 18.4899, 61.0831)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57CF #89CF57
analogous
#6157CF #9D57CF #CF57C5
triadic
#9D57CF #CF9D57 #57CF9D
tetradic
#9D57CF #CF6157 #89CF57 #57C5CF
square
#9D57CF #CF6157 #89CF57 #57C5CF
split-complementary
#9D57CF #C5CF57 #57CF61
monochromatic
#5E2685 #7F34B5 #9D57CF #B987DD #D5B6EA

Accessibility & contrast

On white

4.47
#9D57CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9D57CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57CF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57CF#FFFFFF#000000##000000
##9D57CF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#966D8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d57cf;
/* rgb */ color: rgb(157, 87, 207);
/* oklch */ color: oklch(59.1% 0.184 308.7);
Tailwind
colors: {
  custom: {
    50: '#bd89de',
    500: '#9d57cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d57cf;
$custom-light: #bd89de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57cf",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 275,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.18406,
    "h": 308.7
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

primary
#9D57CF
secondary
#BDD9A9
accent
#DF4987
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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