#9956DB#9956DB

#9956DB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.3% C 0.198 H 304.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9956DB
RGBrgb(153, 86, 219)
HSLhsl(270, 65%, 60%)
HSVhsv(270, 61%, 86%)
CMYKcmyk(30.1%, 60.7%, 0%, 14.1%)
CIE-LABlab(50.15, 52.44, -57.78)
CIE-LCHlch(50.15, 78.03, 312.23°)
OKLaboklab(59.28% 0.1112 -0.1635)
OKLCHoklch(59.28% 0.198 304.2)
XYZxyz(29.2480, 18.5425, 69.0423)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956DB #98DB56
analogous
#5756DB #9956DB #DB56DA
triadic
#9956DB #DB9956 #56DB99
tetradic
#9956DB #DB5756 #98DB56 #56DADB
square
#9956DB #DB5756 #98DB56 #56DADB
split-complementary
#9956DB #DADB56 #56DB57
monochromatic
#5C2097 #7A2BC9 #9956DB #B788E6 #D6BBF0

Accessibility & contrast

On white

4.46
#9956DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9956DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956DB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956DB#FFFFFF#000000##000000
##9956DB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0476DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#8D7191
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9956db;
/* rgb */ color: rgb(153, 86, 219);
/* oklch */ color: oklch(59.3% 0.198 304.2);
Tailwind
colors: {
  custom: {
    50: '#bb89e7',
    500: '#9956db',
    950: '#000000',
  },
}
SCSS
$custom: #9956db;
$custom-light: #bb89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9956db",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 270.226,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59277,
    "c": 0.19774,
    "h": 304.2
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#9956DB
secondary
#C6E0AD
accent
#E84093
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9956DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9956DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva