#9D47D4#9D47D4

#9D47D4 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.212 H 309.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9D47D4
RGBrgb(157, 71, 212)
HSLhsl(277, 62%, 55%)
HSVhsv(277, 67%, 83%)
CMYKcmyk(25.9%, 66.5%, 0%, 16.9%)
CIE-LABlab(47.53, 59.00, -57.97)
CIE-LCHlch(47.53, 82.72, 315.51°)
OKLaboklab(57.35% 0.1339 -0.1639)
OKLCHoklch(57.35% 0.212 309.2)
XYZxyz(28.0392, 16.4286, 63.9685)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47D4 #7ED447
analogous
#5647D4 #9D47D4 #D447C4
triadic
#9D47D4 #D49D47 #47D49D
tetradic
#9D47D4 #D45647 #7ED447 #47C4D4
square
#9D47D4 #D45647 #7ED447 #47C4D4
split-complementary
#9D47D4 #C4D447 #47D456
monochromatic
#5B1E82 #7E2AB4 #9D47D4 #B779E0 #D2AAEB

Accessibility & contrast

On white

4.90
#9D47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9D47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47D4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47D4#FFFFFF#000000##FFFFFF
##9D47D41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#2F72D1
Tritanopia (blue-blind)
#956588
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d47d4;
/* rgb */ color: rgb(157, 71, 212);
/* oklch */ color: oklch(57.4% 0.212 309.2);
Tailwind
colors: {
  custom: {
    50: '#be80e2',
    500: '#9d47d4',
    950: '#000000',
  },
}
SCSS
$custom: #9d47d4;
$custom-light: #be80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47d4",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 276.596,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.21165,
    "h": 309.2
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#9D47D4
secondary
#B5D99E
accent
#E54382
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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