#9958CD#9958CD

#9958CD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.179 H 307.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9958CD
RGBrgb(153, 88, 205)
HSLhsl(273, 54%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(25.4%, 57.1%, 0%, 19.6%)
CIE-LABlab(49.69, 48.13, -50.52)
CIE-LCHlch(49.69, 69.78, 313.61°)
OKLaboklab(58.67% 0.1088 -0.1423)
OKLCHoklch(58.67% 0.179 307.4)
XYZxyz(27.6438, 18.1599, 59.7947)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958CD #8CCD58
analogous
#5E58CD #9958CD #CD58C7
triadic
#9958CD #CD9958 #58CD99
tetradic
#9958CD #CD5E58 #8CCD58 #58C7CD
square
#9958CD #CD5E58 #8CCD58 #58C7CD
split-complementary
#9958CD #C7CD58 #58CD5E
monochromatic
#5A2783 #7B35B2 #9958CD #B687DB #D3B6E9

Accessibility & contrast

On white

4.53
#9958CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9958CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958CD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958CD#FFFFFF#000000##000000
##9958CD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#916E8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9958cd;
/* rgb */ color: rgb(153, 88, 205);
/* oklch */ color: oklch(58.7% 0.179 307.4);
Tailwind
colors: {
  custom: {
    50: '#ba8add',
    500: '#9958cd',
    950: '#000000',
  },
}
SCSS
$custom: #9958cd;
$custom-light: #ba8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9958cd",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 273.333,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.1791,
    "h": 307.4
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#9958CD
secondary
#BED8A9
accent
#DD4B8C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9958CD

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

Preview Lab → · Contrast checker → · Palette generator →

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