#9D4BD5#9D4BD5

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

Color values

HEX#9D4BD5
RGBrgb(157, 75, 213)
HSLhsl(276, 62%, 56%)
HSVhsv(276, 65%, 84%)
CMYKcmyk(26.3%, 64.8%, 0%, 16.5%)
CIE-LABlab(48.27, 57.37, -57.36)
CIE-LCHlch(48.27, 81.13, 315.01°)
OKLaboklab(57.9% 0.1294 -0.1621)
OKLCHoklch(57.9% 0.207 308.6)
XYZxyz(28.4285, 17.0048, 64.7225)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BD5 #83D54B
analogous
#584BD5 #9D4BD5 #D54BC8
triadic
#9D4BD5 #D59D4B #4BD59D
tetradic
#9D4BD5 #D5584B #83D54B #4BC8D5
square
#9D4BD5 #D5584B #83D54B #4BC8D5
split-complementary
#9D4BD5 #C8D54B #4BD558
monochromatic
#5C1F86 #7F2BB8 #9D4BD5 #B87DE1 #D3AEEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4BD5#FFFFFF#000000##FFFFFF
##9D4BD51.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)
#006FD9
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#95688A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4bd5;
/* rgb */ color: rgb(157, 75, 213);
/* oklch */ color: oklch(57.9% 0.207 308.6);
Tailwind
colors: {
  custom: {
    50: '#be82e3',
    500: '#9d4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bd5;
$custom-light: #be82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bd5",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 275.652,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.579,
    "c": 0.20743,
    "h": 308.6
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#9D4BD5
secondary
#B9DAA2
accent
#E54385
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9D4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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