#9D4CD2#9D4CD2

#9D4CD2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.203 H 309.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D4CD2
RGBrgb(157, 76, 210)
HSLhsl(276, 60%, 56%)
HSVhsv(276, 64%, 82%)
CMYKcmyk(25.2%, 63.8%, 0%, 17.6%)
CIE-LABlab(48.25, 56.23, -55.67)
CIE-LCHlch(48.25, 79.13, 315.29°)
OKLaboklab(57.83% 0.1284 -0.1572)
OKLCHoklch(57.83% 0.203 309.3)
XYZxyz(28.1196, 16.9906, 62.7585)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD2 #81D24C
analogous
#5A4CD2 #9D4CD2 #D24CC4
triadic
#9D4CD2 #D29D4C #4CD29D
tetradic
#9D4CD2 #D25A4C #81D24C #4CC4D2
square
#9D4CD2 #D25A4C #81D24C #4CC4D2
split-complementary
#9D4CD2 #C4D24C #4CD25A
monochromatic
#5C2183 #7E2DB4 #9D4CD2 #B87DDE #D3AEEB

Accessibility & contrast

On white

4.77
#9D4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9D4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD2#FFFFFF#000000##FFFFFF
##9D4CD21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3874CF
Tritanopia (blue-blind)
#956788
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4cd2;
/* rgb */ color: rgb(157, 76, 210);
/* oklch */ color: oklch(57.8% 0.203 309.3);
Tailwind
colors: {
  custom: {
    50: '#be83e0',
    500: '#9d4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd2;
$custom-light: #be83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd2",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 276.269,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.20299,
    "h": 309.3
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#9D4CD2
secondary
#B7D9A1
accent
#E34583
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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