#9958DF#9958DF

#9958DF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.8% C 0.199 H 303.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9958DF
RGBrgb(153, 88, 223)
HSLhsl(269, 68%, 61%)
HSVhsv(269, 61%, 87%)
CMYKcmyk(31.4%, 60.5%, 0%, 12.5%)
CIE-LABlab(50.78, 52.37, -59.03)
CIE-LCHlch(50.78, 78.91, 311.58°)
OKLaboklab(59.82% 0.1087 -0.1672)
OKLCHoklch(59.82% 0.199 303)
XYZxyz(29.9428, 19.0795, 71.9030)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958DF #9EDF58
analogous
#585ADF #9958DF #DC58DF
triadic
#9958DF #DF9958 #58DF99
tetradic
#9958DF #DF585A #9EDF58 #58DFDC
square
#9958DF #DF585A #9EDF58 #58DFDC
split-complementary
#9958DF #DFDC58 #5ADF58
monochromatic
#5C1E9E #7A28D2 #9958DF #B88BE9 #D8BFF3

Accessibility & contrast

On white

4.36
#9958DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9958DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958DF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958DF#FFFFFF#000000##000000
##9958DF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E3
Deuteranopia (green-blind)
#3379DC
Tritanopia (blue-blind)
#8C7493
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9958df;
/* rgb */ color: rgb(153, 88, 223);
/* oklch */ color: oklch(59.8% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#bb8aea',
    500: '#9958df',
    950: '#000000',
  },
}
SCSS
$custom: #9958df;
$custom-light: #bb8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9958df",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 268.889,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.19942,
    "h": 303
  },
  "luminance": 0.19079
}

Semantic roles & 50–950 ramp

primary
#9958DF
secondary
#CAE3B0
accent
#D01676
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9958DF

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

Preview Lab → · Contrast checker → · Palette generator →

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