#9C47DE#9C47DE

#9C47DE is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.221 H 306.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9C47DE
RGBrgb(156, 71, 222)
HSLhsl(274, 70%, 57%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29.7%, 68%, 0%, 12.9%)
CIE-LABlab(48.07, 61.01, -62.81)
CIE-LCHlch(48.07, 87.57, 314.17°)
OKLaboklab(57.92% 0.1316 -0.1782)
OKLCHoklch(57.92% 0.221 306.4)
XYZxyz(29.1455, 16.8486, 70.8098)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47DE #89DE47
analogous
#5147DE #9C47DE #DE47D4
triadic
#9C47DE #DE9C47 #47DE9C
tetradic
#9C47DE #DE5147 #89DE47 #47D4DE
square
#9C47DE #DE5147 #89DE47 #47D4DE
split-complementary
#9C47DE #D4DE47 #47DE51
monochromatic
#5D1A91 #7E23C5 #9C47DE #B87BE7 #D4AFF1

Accessibility & contrast

On white

4.81
#9C47DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9C47DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47DE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47DE#FFFFFF#000000##FFFFFF
##9C47DE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1973DB
Tritanopia (blue-blind)
#91698D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c47de;
/* rgb */ color: rgb(156, 71, 222);
/* oklch */ color: oklch(57.9% 0.221 306.4);
Tailwind
colors: {
  custom: {
    50: '#be80e9',
    500: '#9c47de',
    950: '#000000',
  },
}
SCSS
$custom: #9c47de;
$custom-light: #be80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47de",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 273.775,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.22148,
    "h": 306.4
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#9C47DE
secondary
#BDDFA2
accent
#EC3B89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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