#9946E4#9946E4

#9946E4 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.228 H 304.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9946E4
RGBrgb(153, 70, 228)
HSLhsl(272, 75%, 58%)
HSVhsv(272, 69%, 89%)
CMYKcmyk(32.9%, 69.3%, 0%, 10.6%)
CIE-LABlab(47.95, 62.23, -66.43)
CIE-LCHlch(47.95, 91.02, 313.13°)
OKLaboklab(57.89% 0.1278 -0.1889)
OKLCHoklch(57.89% 0.228 304.1)
XYZxyz(29.3274, 16.7541, 75.0726)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946E4 #91E446
analogous
#4A46E4 #9946E4 #E446E0
triadic
#9946E4 #E49946 #46E499
tetradic
#9946E4 #E44A46 #91E446 #46E0E4
square
#9946E4 #E44A46 #91E446 #46E0E4
split-complementary
#9946E4 #E0E446 #46E44A
monochromatic
#5B1699 #7B1ECF #9946E4 #B67BEC #D4B1F4

Accessibility & contrast

On white

4.83
#9946E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9946E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946E4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946E4#FFFFFF#000000##FFFFFF
##9946E41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#8B6B90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9946e4;
/* rgb */ color: rgb(153, 70, 228);
/* oklch */ color: oklch(57.9% 0.228 304.1);
Tailwind
colors: {
  custom: {
    50: '#bd80ed',
    500: '#9946e4',
    950: '#000000',
  },
}
SCSS
$custom: #9946e4;
$custom-light: #bd80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9946e4",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 271.519,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.22809,
    "h": 304.1
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#9946E4
secondary
#C1E2A4
accent
#F1378F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9946E4

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

Preview Lab → · Contrast checker → · Palette generator →

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