#9947E4#9947E4

#9947E4 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.227 H 304.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9947E4
RGBrgb(153, 71, 228)
HSLhsl(271, 74%, 59%)
HSVhsv(271, 69%, 89%)
CMYKcmyk(32.9%, 68.9%, 0%, 10.6%)
CIE-LABlab(48.11, 61.78, -66.17)
CIE-LCHlch(48.11, 90.53, 313.03°)
OKLaboklab(58% 0.1268 -0.1881)
OKLCHoklch(58% 0.227 304)
XYZxyz(29.3905, 16.8803, 75.0936)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947E4 #92E447
analogous
#4A47E4 #9947E4 #E447E0
triadic
#9947E4 #E49947 #47E499
tetradic
#9947E4 #E44A47 #92E447 #47E0E4
square
#9947E4 #E44A47 #92E447 #47E0E4
split-complementary
#9947E4 #E0E447 #47E44A
monochromatic
#5B179A #7B1ECF #9947E4 #B77CEC #D4B2F4

Accessibility & contrast

On white

4.80
#9947E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9947E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947E4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947E4#FFFFFF#000000##FFFFFF
##9947E41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.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: #9947e4;
/* rgb */ color: rgb(153, 71, 228);
/* oklch */ color: oklch(58.0% 0.227 304.0);
Tailwind
colors: {
  custom: {
    50: '#bd80ed',
    500: '#9947e4',
    950: '#000000',
  },
}
SCSS
$custom: #9947e4;
$custom-light: #bd80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9947e4",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 271.338,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.2269,
    "h": 304
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#9947E4
secondary
#C2E2A4
accent
#F13790
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9947E4

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

Preview Lab → · Contrast checker → · Palette generator →

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