#9D47CA#9D47CA

#9D47CA is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.202 H 311.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9D47CA
RGBrgb(157, 71, 202)
HSLhsl(279, 55%, 54%)
HSVhsv(279, 65%, 79%)
CMYKcmyk(22.3%, 64.9%, 0%, 20.8%)
CIE-LABlab(46.90, 56.84, -53.25)
CIE-LCHlch(46.90, 77.88, 316.87°)
OKLaboklab(56.69% 0.1346 -0.15)
OKLCHoklch(56.69% 0.202 311.9)
XYZxyz(26.8166, 15.9395, 57.5296)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47CA #74CA47
analogous
#5B47CA #9D47CA #CA47B5
triadic
#9D47CA #CA9D47 #47CA9D
tetradic
#9D47CA #CA5B47 #74CA47 #47B5CA
square
#9D47CA #CA5B47 #74CA47 #47B5CA
split-complementary
#9D47CA #B5CA47 #47CA5B
monochromatic
#582275 #7C2FA4 #9D47CA #B677D8 #D0A6E5

Accessibility & contrast

On white

5.01
#9D47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9D47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47CA#FFFFFF#000000##FFFFFF
##9D47CA1.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)
#006BCE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#986182
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d47ca;
/* rgb */ color: rgb(157, 71, 202);
/* oklch */ color: oklch(56.7% 0.202 311.9);
Tailwind
colors: {
  custom: {
    50: '#be80db',
    500: '#9d47ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d47ca;
$custom-light: #be80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47ca",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 279.389,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.20157,
    "h": 311.9
  },
  "luminance": 0.15939
}

Semantic roles & 50–950 ramp

primary
#9D47CA
secondary
#AED29A
accent
#DF497D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D47CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9D47CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva