#9957DD#9957DD

#9957DD is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.199 H 303.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9957DD
RGBrgb(153, 87, 221)
HSLhsl(270, 66%, 60%)
HSVhsv(270, 61%, 87%)
CMYKcmyk(30.8%, 60.6%, 0%, 13.3%)
CIE-LABlab(50.46, 52.41, -58.40)
CIE-LCHlch(50.46, 78.47, 311.90°)
OKLaboklab(59.55% 0.1099 -0.1654)
OKLCHoklch(59.55% 0.199 303.6)
XYZxyz(29.5933, 18.8092, 70.4641)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957DD #9BDD57
analogous
#5758DD #9957DD #DC57DD
triadic
#9957DD #DD9957 #57DD99
tetradic
#9957DD #DD5758 #9BDD57 #57DDDC
square
#9957DD #DD5758 #9BDD57 #57DDDC
split-complementary
#9957DD #DDDC57 #58DD57
monochromatic
#5C1F9A #7A2ACD #9957DD #B88AE7 #D7BDF2

Accessibility & contrast

On white

4.41
#9957DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9957DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957DD#FFFFFF#000000##000000
##9957DD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0277E1
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#8C7392
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9957dd;
/* rgb */ color: rgb(153, 87, 221);
/* oklch */ color: oklch(59.5% 0.199 303.6);
Tailwind
colors: {
  custom: {
    50: '#bb89e8',
    500: '#9957dd',
    950: '#000000',
  },
}
SCSS
$custom: #9957dd;
$custom-light: #bb89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9957dd",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 269.552,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.19858,
    "h": 303.6
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#9957DD
secondary
#C8E1AE
accent
#CE1774
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9957DD

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

Preview Lab → · Contrast checker → · Palette generator →

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