#9946D5#9946D5

#9946D5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.213 H 307.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9946D5
RGBrgb(153, 70, 213)
HSLhsl(275, 63%, 55%)
HSVhsv(275, 67%, 84%)
CMYKcmyk(28.2%, 67.1%, 0%, 16.5%)
CIE-LABlab(46.92, 58.84, -59.56)
CIE-LCHlch(46.92, 83.72, 314.65°)
OKLaboklab(56.82% 0.1297 -0.1687)
OKLCHoklch(56.82% 0.213 307.6)
XYZxyz(27.3348, 15.9571, 64.5779)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946D5 #82D546
analogous
#5146D5 #9946D5 #D546CA
triadic
#9946D5 #D59946 #46D599
tetradic
#9946D5 #D55146 #82D546 #46CAD5
square
#9946D5 #D55146 #82D546 #46CAD5
split-complementary
#9946D5 #CAD546 #46D551
monochromatic
#581E83 #7A29B5 #9946D5 #B478E0 #D0AAEC

Accessibility & contrast

On white

5.01
#9946D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9946D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946D5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946D5#FFFFFF#000000##FFFFFF
##9946D51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#2470D2
Tritanopia (blue-blind)
#8F6588
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9946d5;
/* rgb */ color: rgb(153, 70, 213);
/* oklch */ color: oklch(56.8% 0.213 307.6);
Tailwind
colors: {
  custom: {
    50: '#bc7fe3',
    500: '#9946d5',
    950: '#000000',
  },
}
SCSS
$custom: #9946d5;
$custom-light: #bc7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9946d5",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 274.825,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.21281,
    "h": 307.6
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#9946D5
secondary
#B7D99E
accent
#E64287
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9946D5

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

Preview Lab → · Contrast checker → · Palette generator →

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