#9D4CD4#9D4CD4

#9D4CD4 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.205 H 308.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9D4CD4
RGBrgb(157, 76, 212)
HSLhsl(276, 61%, 56%)
HSVhsv(276, 64%, 83%)
CMYKcmyk(25.9%, 64.2%, 0%, 16.9%)
CIE-LABlab(48.37, 56.68, -56.61)
CIE-LCHlch(48.37, 80.11, 315.03°)
OKLaboklab(57.96% 0.1283 -0.1599)
OKLCHoklch(57.96% 0.205 308.7)
XYZxyz(28.3703, 17.0909, 64.0789)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD4 #83D44C
analogous
#594CD4 #9D4CD4 #D44CC7
triadic
#9D4CD4 #D49D4C #4CD49D
tetradic
#9D4CD4 #D4594C #83D44C #4CC7D4
square
#9D4CD4 #D4594C #83D44C #4CC7D4
split-complementary
#9D4CD4 #C7D44C #4CD459
monochromatic
#5C2086 #7F2CB7 #9D4CD4 #B87DE0 #D3AFEC

Accessibility & contrast

On white

4.75
#9D4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9D4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD4#FFFFFF#000000##FFFFFF
##9D4CD41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#3574D1
Tritanopia (blue-blind)
#956889
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4cd4;
/* rgb */ color: rgb(157, 76, 212);
/* oklch */ color: oklch(58.0% 0.205 308.7);
Tailwind
colors: {
  custom: {
    50: '#be83e2',
    500: '#9d4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd4;
$custom-light: #be83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd4",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 275.735,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.20505,
    "h": 308.7
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#9D4CD4
secondary
#B9DAA2
accent
#E44385
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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