#9C47DF#9C47DF

#9C47DF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.223 H 306.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C47DF
RGBrgb(156, 71, 223)
HSLhsl(274, 70%, 58%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(30%, 68.2%, 0%, 12.5%)
CIE-LABlab(48.14, 61.23, -63.27)
CIE-LCHlch(48.14, 88.05, 314.06°)
OKLaboklab(57.99% 0.1315 -0.1795)
OKLCHoklch(57.99% 0.223 306.2)
XYZxyz(29.2799, 16.9024, 71.5177)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47DF #8ADF47
analogous
#5047DF #9C47DF #DF47D6
triadic
#9C47DF #DF9C47 #47DF9C
tetradic
#9C47DF #DF5047 #8ADF47 #47D6DF
square
#9C47DF #DF5047 #8ADF47 #47D6DF
split-complementary
#9C47DF #D6DF47 #47DF50
monochromatic
#5D1992 #7E22C6 #9C47DF #B87BE8 #D4AFF1

Accessibility & contrast

On white

4.79
#9C47DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C47DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47DF#FFFFFF#000000##FFFFFF
##9C47DF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#1673DC
Tritanopia (blue-blind)
#90698E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c47df;
/* rgb */ color: rgb(156, 71, 223);
/* oklch */ color: oklch(58.0% 0.223 306.2);
Tailwind
colors: {
  custom: {
    50: '#be80ea',
    500: '#9c47df',
    950: '#000000',
  },
}
SCSS
$custom: #9c47df;
$custom-light: #be80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47df",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 273.553,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.2225,
    "h": 306.2
  },
  "luminance": 0.16902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C47DF

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

Preview Lab → · Contrast checker → · Palette generator →

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