#9946CB#9946CB

#9946CB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.203 H 310.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9946CB
RGBrgb(153, 70, 203)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 66%, 80%)
CMYKcmyk(24.6%, 65.5%, 0%, 20.4%)
CIE-LABlab(46.26, 56.63, -54.86)
CIE-LCHlch(46.26, 78.85, 315.91°)
OKLaboklab(56.15% 0.1306 -0.1549)
OKLCHoklch(56.15% 0.203 310.1)
XYZxyz(26.1044, 15.4650, 58.0982)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946CB #78CB46
analogous
#5646CB #9946CB #CB46BA
triadic
#9946CB #CB9946 #46CB99
tetradic
#9946CB #CB5646 #78CB46 #46BACB
square
#9946CB #CB5646 #78CB46 #46BACB
split-complementary
#9946CB #BACB46 #46CB56
monochromatic
#562176 #792EA5 #9946CB #B376D8 #CEA6E6

Accessibility & contrast

On white

5.13
#9946CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9946CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946CB#FFFFFF#000000##FFFFFF
##9946CB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#336FC8
Tritanopia (blue-blind)
#926183
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9946cb;
/* rgb */ color: rgb(153, 70, 203);
/* oklch */ color: oklch(56.1% 0.203 310.1);
Tailwind
colors: {
  custom: {
    50: '#bb7fdb',
    500: '#9946cb',
    950: '#000000',
  },
}
SCSS
$custom: #9946cb;
$custom-light: #bb7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9946cb",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 277.444,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.20261,
    "h": 310.1
  },
  "luminance": 0.15464
}

Semantic roles & 50–950 ramp

primary
#9946CB
secondary
#AFD39A
accent
#DF4881
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9946CB

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

Preview Lab → · Contrast checker → · Palette generator →

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