#9C47DA#9C47DA

#9C47DA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.217 H 307.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9C47DA
RGBrgb(156, 71, 218)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28.4%, 67.4%, 0%, 14.5%)
CIE-LABlab(47.80, 60.12, -60.97)
CIE-LCHlch(47.80, 85.63, 314.60°)
OKLaboklab(57.64% 0.132 -0.1728)
OKLCHoklch(57.64% 0.217 307.4)
XYZxyz(28.6158, 16.6367, 68.0198)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47DA #85DA47
analogous
#5347DA #9C47DA #DA47CF
triadic
#9C47DA #DA9C47 #47DA9C
tetradic
#9C47DA #DA5347 #85DA47 #47CFDA
square
#9C47DA #DA5347 #85DA47 #47CFDA
split-complementary
#9C47DA #CFDA47 #47DA53
monochromatic
#5C1C8B #7E26BE #9C47DA #B77AE4 #D3ADEE

Accessibility & contrast

On white

4.85
#9C47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9C47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47DA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47DA#FFFFFF#000000##FFFFFF
##9C47DA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#2372D7
Tritanopia (blue-blind)
#92678B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c47da;
/* rgb */ color: rgb(156, 71, 218);
/* oklch */ color: oklch(57.6% 0.217 307.4);
Tailwind
colors: {
  custom: {
    50: '#be80e6',
    500: '#9c47da',
    950: '#000000',
  },
}
SCSS
$custom: #9c47da;
$custom-light: #be80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47da",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 274.694,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.21743,
    "h": 307.4
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#9C47DA
secondary
#BADCA0
accent
#E93E87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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