#9946CD#9946CD

#9946CD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.205 H 309.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9946CD
RGBrgb(153, 70, 205)
HSLhsl(277, 57%, 54%)
HSVhsv(277, 66%, 80%)
CMYKcmyk(25.4%, 65.9%, 0%, 19.6%)
CIE-LABlab(46.39, 57.07, -55.81)
CIE-LCHlch(46.39, 79.82, 315.64°)
OKLaboklab(56.28% 0.1304 -0.1577)
OKLCHoklch(56.28% 0.205 309.6)
XYZxyz(26.3443, 15.5609, 59.3615)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946CD #7ACD46
analogous
#5646CD #9946CD #CD46BE
triadic
#9946CD #CD9946 #46CD99
tetradic
#9946CD #CD5646 #7ACD46 #46BECD
square
#9946CD #CD5646 #7ACD46 #46BECD
split-complementary
#9946CD #BECD46 #46CD56
monochromatic
#562078 #792DA8 #9946CD #B476DA #CEA6E7

Accessibility & contrast

On white

5.11
#9946CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9946CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946CD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946CD#FFFFFF#000000##FFFFFF
##9946CD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#926284
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9946cd;
/* rgb */ color: rgb(153, 70, 205);
/* oklch */ color: oklch(56.3% 0.205 309.6);
Tailwind
colors: {
  custom: {
    50: '#bb7fdd',
    500: '#9946cd',
    950: '#000000',
  },
}
SCSS
$custom: #9946cd;
$custom-light: #bb7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9946cd",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 276.889,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.20466,
    "h": 309.6
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#9946CD
secondary
#B1D49B
accent
#E14782
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9946CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9946CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva