#9946DB#9946DB

#9946DB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.219 H 306.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9946DB
RGBrgb(153, 70, 219)
HSLhsl(273, 67%, 57%)
HSVhsv(273, 68%, 86%)
CMYKcmyk(30.1%, 68%, 0%, 14.1%)
CIE-LABlab(47.32, 60.18, -62.33)
CIE-LCHlch(47.32, 86.64, 314.00°)
OKLaboklab(57.24% 0.1291 -0.1768)
OKLCHoklch(57.24% 0.219 306.1)
XYZxyz(28.1104, 16.2674, 68.6631)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946DB #88DB46
analogous
#4F46DB #9946DB #DB46D3
triadic
#9946DB #DB9946 #46DB99
tetradic
#9946DB #DB4F46 #88DB46 #46D3DB
square
#9946DB #DB4F46 #88DB46 #46D3DB
split-complementary
#9946DB #D3DB46 #46DB4F
monochromatic
#5A1B8B #7B25BF #9946DB #B579E5 #D1ACEF

Accessibility & contrast

On white

4.94
#9946DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9946DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946DB#FFFFFF#000000##FFFFFF
##9946DB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#1671D8
Tritanopia (blue-blind)
#8E678B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9946db;
/* rgb */ color: rgb(153, 70, 219);
/* oklch */ color: oklch(57.2% 0.219 306.1);
Tailwind
colors: {
  custom: {
    50: '#bc7fe7',
    500: '#9946db',
    950: '#000000',
  },
}
SCSS
$custom: #9946db;
$custom-light: #bc7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9946db",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 273.423,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.21893,
    "h": 306.1
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#9946DB
secondary
#BBDDA0
accent
#EA3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9946DB

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

Preview Lab → · Contrast checker → · Palette generator →

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