#9C47E5#9C47E5

#9C47E5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.229 H 304.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9C47E5
RGBrgb(156, 71, 229)
HSLhsl(272, 75%, 59%)
HSVhsv(272, 69%, 90%)
CMYKcmyk(31.9%, 69%, 0%, 10.2%)
CIE-LABlab(48.55, 62.59, -66.00)
CIE-LCHlch(48.55, 90.96, 313.48°)
OKLaboklab(58.42% 0.1307 -0.1875)
OKLCHoklch(58.42% 0.229 304.9)
XYZxyz(30.1032, 17.2317, 75.8537)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47E5 #90E547
analogous
#4D47E5 #9C47E5 #E547DF
triadic
#9C47E5 #E59C47 #47E59C
tetradic
#9C47E5 #E54D47 #90E547 #47DFE5
square
#9C47E5 #E54D47 #90E547 #47DFE5
split-complementary
#9C47E5 #DFE547 #47E54D
monochromatic
#5E169C #7E1ED1 #9C47E5 #B97DED #D6B2F4

Accessibility & contrast

On white

4.72
#9C47E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9C47E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47E5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47E5#FFFFFF#000000##FFFFFF
##9C47E51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#8E6B91
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c47e5;
/* rgb */ color: rgb(156, 71, 229);
/* oklch */ color: oklch(58.4% 0.229 304.9);
Tailwind
colors: {
  custom: {
    50: '#bf81ee',
    500: '#9c47e5',
    950: '#000000',
  },
}
SCSS
$custom: #9c47e5;
$custom-light: #bf81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47e5",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 272.278,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.22858,
    "h": 304.9
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#9C47E5
secondary
#C2E3A5
accent
#F2368D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C47E5

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

Preview Lab → · Contrast checker → · Palette generator →

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