#9958BF#9958BF

#9958BF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.163 H 311.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9958BF
RGBrgb(153, 88, 191)
HSLhsl(278, 45%, 55%)
HSVhsv(278, 54%, 75%)
CMYKcmyk(19.9%, 53.9%, 0%, 25.1%)
CIE-LABlab(48.90, 44.95, -43.72)
CIE-LCHlch(48.90, 62.70, 315.80°)
OKLaboklab(57.84% 0.1081 -0.1224)
OKLCHoklch(57.84% 0.163 311.5)
XYZxyz(26.0289, 17.5139, 51.2895)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958BF #7EBF58
analogous
#6658BF #9958BF #BF58B2
triadic
#9958BF #BF9958 #58BF99
tetradic
#9958BF #BF6658 #7EBF58 #58B2BF
square
#9958BF #BF6658 #7EBF58 #58B2BF
split-complementary
#9958BF #B2BF58 #58BF66
monochromatic
#572B71 #7A3C9D #9958BF #B484D0 #CFB0E1

Accessibility & contrast

On white

4.66
#9958BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9958BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9958BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958BF#FFFFFF#000000##FFFFFF
##9958BF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#5176BC
Tritanopia (blue-blind)
#956A83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9958bf;
/* rgb */ color: rgb(153, 88, 191);
/* oklch */ color: oklch(57.8% 0.163 311.5);
Tailwind
colors: {
  custom: {
    50: '#b98ad3',
    500: '#9958bf',
    950: '#000000',
  },
}
SCSS
$custom: #9958bf;
$custom-light: #b98ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9958bf",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 277.864,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.16331,
    "h": 311.5
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#9958BF
secondary
#B4CFA4
accent
#D45483
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9958BF

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

Preview Lab → · Contrast checker → · Palette generator →

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