#9957CD#9957CD

#9957CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.181 H 307.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9957CD
RGBrgb(153, 87, 205)
HSLhsl(274, 54%, 57%)
HSVhsv(274, 58%, 80%)
CMYKcmyk(25.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(49.49, 48.66, -50.84)
CIE-LCHlch(49.49, 70.37, 313.74°)
OKLaboklab(58.53% 0.1101 -0.1432)
OKLCHoklch(58.53% 0.181 307.5)
XYZxyz(27.5623, 17.9968, 59.7675)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957CD #8BCD57
analogous
#5E57CD #9957CD #CD57C6
triadic
#9957CD #CD9957 #57CD99
tetradic
#9957CD #CD5E57 #8BCD57 #57C6CD
square
#9957CD #CD5E57 #8BCD57 #57C6CD
split-complementary
#9957CD #C6CD57 #57CD5E
monochromatic
#5A2783 #7B35B2 #9957CD #B686DB #D2B5E9

Accessibility & contrast

On white

4.57
#9957CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9957CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957CD#FFFFFF#000000##000000
##9957CD1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#916D8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9957cd;
/* rgb */ color: rgb(153, 87, 205);
/* oklch */ color: oklch(58.5% 0.181 307.5);
Tailwind
colors: {
  custom: {
    50: '#ba89dd',
    500: '#9957cd',
    950: '#000000',
  },
}
SCSS
$custom: #9957cd;
$custom-light: #ba89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9957cd",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 273.559,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.18061,
    "h": 307.5
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#9957CD
secondary
#BDD8A8
accent
#DD4A8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9957CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9957CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva