#9958CF#9958CF

#9958CF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.181 H 306.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9958CF
RGBrgb(153, 88, 207)
HSLhsl(273, 55%, 58%)
HSVhsv(273, 57%, 81%)
CMYKcmyk(26.1%, 57.5%, 0%, 18.8%)
CIE-LABlab(49.81, 48.60, -51.48)
CIE-LCHlch(49.81, 70.79, 313.35°)
OKLaboklab(58.79% 0.1088 -0.1451)
OKLCHoklch(58.79% 0.181 306.9)
XYZxyz(27.8867, 18.2570, 61.0743)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958CF #8ECF58
analogous
#5D58CF #9958CF #CF58CA
triadic
#9958CF #CF9958 #58CF99
tetradic
#9958CF #CF5D58 #8ECF58 #58CACF
square
#9958CF #CF5D58 #8ECF58 #58CACF
split-complementary
#9958CF #CACF58 #58CF5D
monochromatic
#5B2786 #7B34B6 #9958CF #B688DD #D3B7EA

Accessibility & contrast

On white

4.51
#9958CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9958CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958CF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958CF#FFFFFF#000000##000000
##9958CF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#906F8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9958cf;
/* rgb */ color: rgb(153, 88, 207);
/* oklch */ color: oklch(58.8% 0.181 306.9);
Tailwind
colors: {
  custom: {
    50: '#ba8ade',
    500: '#9958cf',
    950: '#000000',
  },
}
SCSS
$custom: #9958cf;
$custom-light: #ba8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9958cf",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 272.773,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.18136,
    "h": 306.9
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#9958CF
secondary
#BFD9AA
accent
#DF498D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9958CF

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

Preview Lab → · Contrast checker → · Palette generator →

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