#9D57CC#9D57CC

#9D57CC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.181 H 309.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D57CC
RGBrgb(157, 87, 204)
HSLhsl(276, 53%, 57%)
HSVhsv(276, 57%, 80%)
CMYKcmyk(23%, 57.4%, 0%, 20%)
CIE-LABlab(49.91, 49.42, -49.57)
CIE-LCHlch(49.91, 70.00, 314.91°)
OKLaboklab(58.92% 0.1151 -0.1393)
OKLCHoklch(58.92% 0.181 309.6)
XYZxyz(28.2098, 18.3446, 59.1698)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57CC #86CC57
analogous
#6257CC #9D57CC #CC57C1
triadic
#9D57CC #CC9D57 #57CC9D
tetradic
#9D57CC #CC6257 #86CC57 #57C1CC
square
#9D57CC #CC6257 #86CC57 #57C1CC
split-complementary
#9D57CC #C1CC57 #57CC62
monochromatic
#5D2781 #7F36B0 #9D57CC #B886DA #D4B5E9

Accessibility & contrast

On white

4.50
#9D57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9D57CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57CC#FFFFFF#000000##000000
##9D57CC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#976C89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d57cc;
/* rgb */ color: rgb(157, 87, 204);
/* oklch */ color: oklch(58.9% 0.181 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd89dc',
    500: '#9d57cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d57cc;
$custom-light: #bd89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57cc",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 275.897,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5892,
    "c": 0.18074,
    "h": 309.6
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#9D57CC
secondary
#BBD7A8
accent
#DD4B86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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