#9959CA#9959CA

#9959CA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.174 H 308.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9959CA
RGBrgb(153, 89, 202)
HSLhsl(274, 52%, 57%)
HSVhsv(274, 56%, 79%)
CMYKcmyk(24.3%, 55.9%, 0%, 20.8%)
CIE-LABlab(49.72, 46.91, -48.76)
CIE-LCHlch(49.72, 67.66, 313.89°)
OKLaboklab(58.64% 0.1074 -0.1371)
OKLCHoklch(58.64% 0.174 308.1)
XYZxyz(27.3678, 18.1817, 57.9333)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959CA #8ACA59
analogous
#6159CA #9959CA #CA59C3
triadic
#9959CA #CA9959 #59CA99
tetradic
#9959CA #CA6159 #8ACA59 #59C3CA
square
#9959CA #CA6159 #8ACA59 #59C3CA
split-complementary
#9959CA #C3CA59 #59CA61
monochromatic
#5A2980 #7B38AE #9959CA #B687D9 #D2B6E8

Accessibility & contrast

On white

4.53
#9959CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9959CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959CA#FFFFFF#000000##000000
##9959CA1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#926E89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9959ca;
/* rgb */ color: rgb(153, 89, 202);
/* oklch */ color: oklch(58.6% 0.174 308.1);
Tailwind
colors: {
  custom: {
    50: '#ba8adb',
    500: '#9959ca',
    950: '#000000',
  },
}
SCSS
$custom: #9959ca;
$custom-light: #ba8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9959ca",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 273.982,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58635,
    "c": 0.17419,
    "h": 308.1
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#9959CA
secondary
#BCD6A8
accent
#DB4D8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9959CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9959CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva