#9958DD#9958DD

#9958DD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.197 H 303.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9958DD
RGBrgb(153, 88, 221)
HSLhsl(269, 66%, 61%)
HSVhsv(269, 60%, 87%)
CMYKcmyk(30.8%, 60.2%, 0%, 13.3%)
CIE-LABlab(50.65, 51.89, -58.09)
CIE-LCHlch(50.65, 77.90, 311.77°)
OKLaboklab(59.69% 0.1087 -0.1645)
OKLCHoklch(59.69% 0.197 303.5)
XYZxyz(29.6748, 18.9723, 70.4913)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958DD #9CDD58
analogous
#5859DD #9958DD #DB58DD
triadic
#9958DD #DD9958 #58DD99
tetradic
#9958DD #DD5859 #9CDD58 #58DDDB
square
#9958DD #DD5859 #9CDD58 #58DDDB
split-complementary
#9958DD #DDDB58 #59DD58
monochromatic
#5C209B #7A2ACE #9958DD #B88BE7 #D7BEF2

Accessibility & contrast

On white

4.38
#9958DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9958DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958DD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958DD#FFFFFF#000000##000000
##9958DD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A77E1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#8C7392
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9958dd;
/* rgb */ color: rgb(153, 88, 221);
/* oklch */ color: oklch(59.7% 0.197 303.5);
Tailwind
colors: {
  custom: {
    50: '#bb8ae8',
    500: '#9958dd',
    950: '#000000',
  },
}
SCSS
$custom: #9958dd;
$custom-light: #bb8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9958dd",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 269.323,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.19717,
    "h": 303.5
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#9958DD
secondary
#C9E2AF
accent
#CE1775
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9958DD

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

Preview Lab → · Contrast checker → · Palette generator →

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