#9958DA#9958DA

#9958DA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.194 H 304.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9958DA
RGBrgb(153, 88, 218)
HSLhsl(270, 64%, 60%)
HSVhsv(270, 60%, 85%)
CMYKcmyk(29.8%, 59.6%, 0%, 14.5%)
CIE-LABlab(50.47, 51.18, -56.69)
CIE-LCHlch(50.47, 76.38, 312.07°)
OKLaboklab(59.49% 0.1088 -0.1604)
OKLCHoklch(59.49% 0.194 304.2)
XYZxyz(29.2787, 18.8138, 68.4050)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958DA #99DA58
analogous
#5858DA #9958DA #DA58DA
triadic
#9958DA #DA9958 #58DA99
tetradic
#9958DA #DA5858 #99DA58 #58DADA
square
#9958DA #DA5858 #99DA58 #58DADA
split-complementary
#9958DA #DADA58 #58DA58
monochromatic
#5C2196 #7A2CC8 #9958DA #B88AE5 #D6BCF0

Accessibility & contrast

On white

4.41
#9958DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9958DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958DA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958DA#FFFFFF#000000##000000
##9958DA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1576DE
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#8D7291
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9958da;
/* rgb */ color: rgb(153, 88, 218);
/* oklch */ color: oklch(59.5% 0.194 304.2);
Tailwind
colors: {
  custom: {
    50: '#bb8ae6',
    500: '#9958da',
    950: '#000000',
  },
}
SCSS
$custom: #9958da;
$custom-light: #bb8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9958da",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 270,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.19379,
    "h": 304.2
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#9958DA
secondary
#C7E0AE
accent
#E74194
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9958DA

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

Preview Lab → · Contrast checker → · Palette generator →

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