#9D4BD4#9D4BD4

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

Color values

HEX#9D4BD4
RGBrgb(157, 75, 212)
HSLhsl(276, 61%, 56%)
HSVhsv(276, 65%, 83%)
CMYKcmyk(25.9%, 64.6%, 0%, 16.9%)
CIE-LABlab(48.20, 57.15, -56.89)
CIE-LCHlch(48.20, 80.64, 315.13°)
OKLaboklab(57.83% 0.1295 -0.1608)
OKLCHoklch(57.83% 0.206 308.8)
XYZxyz(28.3020, 16.9542, 64.0561)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BD4 #82D44B
analogous
#594BD4 #9D4BD4 #D44BC7
triadic
#9D4BD4 #D49D4B #4BD49D
tetradic
#9D4BD4 #D4594B #82D44B #4BC7D4
square
#9D4BD4 #D4594B #82D44B #4BC7D4
split-complementary
#9D4BD4 #C7D44B #4BD459
monochromatic
#5C2085 #7F2CB6 #9D4BD4 #B87CE0 #D3AEEC

Accessibility & contrast

On white

4.78
#9D4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9D4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BD4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BD4#FFFFFF#000000##FFFFFF
##9D4BD41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#3473D1
Tritanopia (blue-blind)
#956789
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4bd4;
/* rgb */ color: rgb(157, 75, 212);
/* oklch */ color: oklch(57.8% 0.206 308.8);
Tailwind
colors: {
  custom: {
    50: '#be82e2',
    500: '#9d4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bd4;
$custom-light: #be82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bd4",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 275.912,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.2064,
    "h": 308.8
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#9D4BD4
secondary
#B8DAA1
accent
#E54384
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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