#9946D4#9946D4

#9946D4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.212 H 307.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9946D4
RGBrgb(153, 70, 212)
HSLhsl(275, 62%, 55%)
HSVhsv(275, 67%, 83%)
CMYKcmyk(27.8%, 67%, 0%, 16.9%)
CIE-LABlab(46.85, 58.61, -59.09)
CIE-LCHlch(46.85, 83.23, 314.77°)
OKLaboklab(56.75% 0.1298 -0.1673)
OKLCHoklch(56.75% 0.212 307.8)
XYZxyz(27.2082, 15.9065, 63.9115)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946D4 #81D446
analogous
#5246D4 #9946D4 #D446C8
triadic
#9946D4 #D49946 #46D499
tetradic
#9946D4 #D45246 #81D446 #46C8D4
square
#9946D4 #D45246 #81D446 #46C8D4
split-complementary
#9946D4 #C8D446 #46D452
monochromatic
#581E81 #7A2AB3 #9946D4 #B478E0 #D0A9EB

Accessibility & contrast

On white

5.02
#9946D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9946D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946D4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946D4#FFFFFF#000000##FFFFFF
##9946D41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#2670D1
Tritanopia (blue-blind)
#906587
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9946d4;
/* rgb */ color: rgb(153, 70, 212);
/* oklch */ color: oklch(56.8% 0.212 307.8);
Tailwind
colors: {
  custom: {
    50: '#bb7fe2',
    500: '#9946d4',
    950: '#000000',
  },
}
SCSS
$custom: #9946d4;
$custom-light: #bb7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#9946d4",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 275.07,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.21178,
    "h": 307.8
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#9946D4
secondary
#B6D99D
accent
#E54286
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9946D4

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

Preview Lab → · Contrast checker → · Palette generator →

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