#9946CA#9946CA

#9946CA is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.202 H 310.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9946CA
RGBrgb(153, 70, 202)
HSLhsl(278, 55%, 53%)
HSVhsv(278, 65%, 79%)
CMYKcmyk(24.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(46.20, 56.41, -54.39)
CIE-LCHlch(46.20, 78.36, 316.04°)
OKLaboklab(56.08% 0.1306 -0.1535)
OKLCHoklch(56.08% 0.202 310.4)
XYZxyz(25.9857, 15.4174, 57.4726)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946CA #77CA46
analogous
#5746CA #9946CA #CA46B9
triadic
#9946CA #CA9946 #46CA99
tetradic
#9946CA #CA5746 #77CA46 #46B9CA
square
#9946CA #CA5746 #77CA46 #46B9CA
split-complementary
#9946CA #B9CA46 #46CA57
monochromatic
#552174 #782FA4 #9946CA #B376D8 #CDA5E5

Accessibility & contrast

On white

5.14
#9946CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9946CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946CA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946CA#FFFFFF#000000##FFFFFF
##9946CA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#936182
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9946ca;
/* rgb */ color: rgb(153, 70, 202);
/* oklch */ color: oklch(56.1% 0.202 310.4);
Tailwind
colors: {
  custom: {
    50: '#bb7fdb',
    500: '#9946ca',
    950: '#000000',
  },
}
SCSS
$custom: #9946ca;
$custom-light: #bb7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9946ca",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 277.727,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.2016,
    "h": 310.4
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#9946CA
secondary
#AFD29A
accent
#DF4981
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9946CA

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

Preview Lab → · Contrast checker → · Palette generator →

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