#9D47CB#9D47CB

#9D47CB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.203 H 311.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9D47CB
RGBrgb(157, 71, 203)
HSLhsl(279, 56%, 54%)
HSVhsv(279, 65%, 80%)
CMYKcmyk(22.7%, 65%, 0%, 20.4%)
CIE-LABlab(46.96, 57.05, -53.72)
CIE-LCHlch(46.96, 78.37, 316.72°)
OKLaboklab(56.76% 0.1346 -0.1514)
OKLCHoklch(56.76% 0.203 311.6)
XYZxyz(26.9354, 15.9870, 58.1552)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47CB #75CB47
analogous
#5B47CB #9D47CB #CB47B7
triadic
#9D47CB #CB9D47 #47CB9D
tetradic
#9D47CB #CB5B47 #75CB47 #47B7CB
square
#9D47CB #CB5B47 #75CB47 #47B7CB
split-complementary
#9D47CB #B7CB47 #47CB5B
monochromatic
#592176 #7C2FA6 #9D47CB #B677D8 #D0A6E6

Accessibility & contrast

On white

5.00
#9D47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9D47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47CB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47CB#FFFFFF#000000##FFFFFF
##9D47CB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#976183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d47cb;
/* rgb */ color: rgb(157, 71, 203);
/* oklch */ color: oklch(56.8% 0.203 311.6);
Tailwind
colors: {
  custom: {
    50: '#be80db',
    500: '#9d47cb',
    950: '#000000',
  },
}
SCSS
$custom: #9d47cb;
$custom-light: #be80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47cb",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 279.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.20259,
    "h": 311.6
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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