#9958CB#9958CB

#9958CB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.177 H 307.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9958CB
RGBrgb(153, 88, 203)
HSLhsl(274, 53%, 57%)
HSVhsv(274, 57%, 80%)
CMYKcmyk(24.6%, 56.7%, 0%, 20.4%)
CIE-LABlab(49.57, 47.67, -49.56)
CIE-LCHlch(49.57, 68.77, 313.89°)
OKLaboklab(58.55% 0.1087 -0.1395)
OKLCHoklch(58.55% 0.177 307.9)
XYZxyz(27.4039, 18.0639, 58.5314)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958CB #8ACB58
analogous
#6058CB #9958CB #CB58C3
triadic
#9958CB #CB9958 #58CB99
tetradic
#9958CB #CB6058 #8ACB58 #58C3CB
square
#9958CB #CB6058 #8ACB58 #58C3CB
split-complementary
#9958CB #C3CB58 #58CB60
monochromatic
#5A2881 #7B37AF #9958CB #B687DA #D2B5E8

Accessibility & contrast

On white

4.55
#9958CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9958CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958CB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958CB#FFFFFF#000000##000000
##9958CB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#926D89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9958cb;
/* rgb */ color: rgb(153, 88, 203);
/* oklch */ color: oklch(58.5% 0.177 307.9);
Tailwind
colors: {
  custom: {
    50: '#ba8adb',
    500: '#9958cb',
    950: '#000000',
  },
}
SCSS
$custom: #9958cb;
$custom-light: #ba8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9958cb",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 273.913,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.17684,
    "h": 307.9
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#9958CB
secondary
#BCD7A8
accent
#DC4C8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9958CB

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

Preview Lab → · Contrast checker → · Palette generator →

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