#9958DC#9958DC

#9958DC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.196 H 303.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9958DC
RGBrgb(153, 88, 220)
HSLhsl(270, 65%, 60%)
HSVhsv(270, 60%, 86%)
CMYKcmyk(30.5%, 60%, 0%, 13.7%)
CIE-LABlab(50.59, 51.65, -57.63)
CIE-LCHlch(50.59, 77.39, 311.87°)
OKLaboklab(59.62% 0.1088 -0.1631)
OKLCHoklch(59.62% 0.196 303.7)
XYZxyz(29.5420, 18.9191, 69.7917)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958DC #9BDC58
analogous
#5859DC #9958DC #DB58DC
triadic
#9958DC #DC9958 #58DC99
tetradic
#9958DC #DC5859 #9BDC58 #58DCDB
square
#9958DC #DC5859 #9BDC58 #58DCDB
split-complementary
#9958DC #DCDB58 #59DC58
monochromatic
#5C2099 #7A2BCC #9958DC #B88BE7 #D7BDF1

Accessibility & contrast

On white

4.39
#9958DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9958DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958DC#FFFFFF#000000##000000
##9958DC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F77E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#8D7392
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9958dc;
/* rgb */ color: rgb(153, 88, 220);
/* oklch */ color: oklch(59.6% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb8ae8',
    500: '#9958dc',
    950: '#000000',
  },
}
SCSS
$custom: #9958dc;
$custom-light: #bb8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9958dc",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 269.545,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.19604,
    "h": 303.7
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#9958DC
secondary
#C8E1AF
accent
#CD1874
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9958DC

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

Preview Lab → · Contrast checker → · Palette generator →

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