#9947E5#9947E5

#9947E5 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.228 H 303.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9947E5
RGBrgb(153, 71, 229)
HSLhsl(271, 75%, 59%)
HSVhsv(271, 69%, 90%)
CMYKcmyk(33.2%, 69%, 0%, 10.2%)
CIE-LABlab(48.18, 62.01, -66.62)
CIE-LCHlch(48.18, 91.01, 312.95°)
OKLaboklab(58.07% 0.1267 -0.1895)
OKLCHoklch(58.07% 0.228 303.8)
XYZxyz(29.5297, 16.9360, 75.8268)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947E5 #93E547
analogous
#4A47E5 #9947E5 #E547E2
triadic
#9947E5 #E59947 #47E599
tetradic
#9947E5 #E54A47 #93E547 #47E2E5
square
#9947E5 #E54A47 #93E547 #47E2E5
split-complementary
#9947E5 #E2E547 #47E54A
monochromatic
#5B169C #7B1ED1 #9947E5 #B77DED #D4B2F4

Accessibility & contrast

On white

4.79
#9947E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9947E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947E5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947E5#FFFFFF#000000##FFFFFF
##9947E51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#8A6C91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9947e5;
/* rgb */ color: rgb(153, 71, 229);
/* oklch */ color: oklch(58.1% 0.228 303.8);
Tailwind
colors: {
  custom: {
    50: '#bd80ee',
    500: '#9947e5',
    950: '#000000',
  },
}
SCSS
$custom: #9947e5;
$custom-light: #bd80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9947e5",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 271.139,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.22792,
    "h": 303.8
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#9947E5
secondary
#C3E3A5
accent
#F23690
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9947E5

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

Preview Lab → · Contrast checker → · Palette generator →

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