#9947E8#9947E8

#9947E8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.231 H 303.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9947E8
RGBrgb(153, 71, 232)
HSLhsl(271, 78%, 59%)
HSVhsv(271, 69%, 91%)
CMYKcmyk(34.1%, 69.4%, 0%, 9%)
CIE-LABlab(48.39, 62.70, -67.97)
CIE-LCHlch(48.39, 92.47, 312.69°)
OKLaboklab(58.29% 0.1263 -0.1934)
OKLCHoklch(58.29% 0.231 303.1)
XYZxyz(29.9522, 17.1050, 78.0519)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947E8 #96E847
analogous
#4947E8 #9947E8 #E847E7
triadic
#9947E8 #E89947 #47E899
tetradic
#9947E8 #E84947 #96E847 #47E7E8
square
#9947E8 #E84947 #96E847 #47E7E8
split-complementary
#9947E8 #E7E847 #47E849
monochromatic
#5C14A1 #7B1BD7 #9947E8 #B77DEF #D5B4F6

Accessibility & contrast

On white

4.75
#9947E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9947E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947E8#FFFFFF#000000##FFFFFF
##9947E81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#896D93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9947e8;
/* rgb */ color: rgb(153, 71, 232);
/* oklch */ color: oklch(58.3% 0.231 303.1);
Tailwind
colors: {
  custom: {
    50: '#bd80f0',
    500: '#9947e8',
    950: '#000000',
  },
}
SCSS
$custom: #9947e8;
$custom-light: #bd80f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9947e8",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 270.559,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5829,
    "c": 0.23099,
    "h": 303.1
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#9947E8
secondary
#C5E5A6
accent
#F43492
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9947E8

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

Preview Lab → · Contrast checker → · Palette generator →

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