#9D4CD3#9D4CD3

#9D4CD3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.204 H 309.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9D4CD3
RGBrgb(157, 76, 211)
HSLhsl(276, 61%, 56%)
HSVhsv(276, 64%, 83%)
CMYKcmyk(25.6%, 64%, 0%, 17.3%)
CIE-LABlab(48.31, 56.46, -56.14)
CIE-LCHlch(48.31, 79.62, 315.16°)
OKLaboklab(57.89% 0.1284 -0.1586)
OKLCHoklch(57.89% 0.204 309)
XYZxyz(28.2446, 17.0406, 63.4166)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD3 #82D34C
analogous
#5A4CD3 #9D4CD3 #D34CC6
triadic
#9D4CD3 #D39D4C #4CD39D
tetradic
#9D4CD3 #D35A4C #82D34C #4CC6D3
square
#9D4CD3 #D35A4C #82D34C #4CC6D3
split-complementary
#9D4CD3 #C6D34C #4CD35A
monochromatic
#5C2084 #7F2DB5 #9D4CD3 #B87DDF #D3AEEB

Accessibility & contrast

On white

4.76
#9D4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9D4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD3#FFFFFF#000000##FFFFFF
##9D4CD31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#956789
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4cd3;
/* rgb */ color: rgb(157, 76, 211);
/* oklch */ color: oklch(57.9% 0.204 309.0);
Tailwind
colors: {
  custom: {
    50: '#be83e1',
    500: '#9d4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd3;
$custom-light: #be83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd3",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 276,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.20402,
    "h": 309
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#9D4CD3
secondary
#B8D9A2
accent
#E44484
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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