#9C47DD#9C47DD

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

Color values

HEX#9C47DD
RGBrgb(156, 71, 221)
HSLhsl(274, 69%, 57%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29.4%, 67.9%, 0%, 13.3%)
CIE-LABlab(48.00, 60.79, -62.35)
CIE-LCHlch(48.00, 87.08, 314.27°)
OKLaboklab(57.85% 0.1317 -0.1768)
OKLCHoklch(57.85% 0.22 306.7)
XYZxyz(29.0119, 16.7952, 70.1060)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47DD #88DD47
analogous
#5147DD #9C47DD #DD47D3
triadic
#9C47DD #DD9C47 #47DD9C
tetradic
#9C47DD #DD5147 #88DD47 #47D3DD
square
#9C47DD #DD5147 #88DD47 #47D3DD
split-complementary
#9C47DD #D3DD47 #47DD51
monochromatic
#5D1A8F #7E24C3 #9C47DD #B87BE7 #D4AEF0

Accessibility & contrast

On white

4.82
#9C47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9C47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47DD#FFFFFF#000000##FFFFFF
##9C47DD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#1C72DA
Tritanopia (blue-blind)
#91688D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c47dd;
/* rgb */ color: rgb(156, 71, 221);
/* oklch */ color: oklch(57.9% 0.220 306.7);
Tailwind
colors: {
  custom: {
    50: '#be80e8',
    500: '#9c47dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c47dd;
$custom-light: #be80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47dd",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 274,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.22048,
    "h": 306.7
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#9C47DD
secondary
#BCDEA2
accent
#EC3C88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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