#9D4BD9#9D4BD9

#9D4BD9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.212 H 307.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9D4BD9
RGBrgb(157, 75, 217)
HSLhsl(275, 65%, 57%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(27.6%, 65.4%, 0%, 14.9%)
CIE-LABlab(48.52, 58.26, -59.23)
CIE-LCHlch(48.52, 83.08, 314.53°)
OKLaboklab(58.17% 0.1291 -0.1676)
OKLCHoklch(58.17% 0.212 307.6)
XYZxyz(28.9425, 17.2104, 67.4294)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BD9 #87D94B
analogous
#564BD9 #9D4BD9 #D94BCE
triadic
#9D4BD9 #D99D4B #4BD99D
tetradic
#9D4BD9 #D9564B #87D94B #4BCED9
square
#9D4BD9 #D9564B #87D94B #4BCED9
split-complementary
#9D4BD9 #CED94B #4BD956
monochromatic
#5D1E8C #7F28BF #9D4BD9 #B97EE4 #D4B0EE

Accessibility & contrast

On white

4.73
#9D4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9D4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BD9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BD9#FFFFFF#000000##FFFFFF
##9D4BD91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#93698C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4bd9;
/* rgb */ color: rgb(157, 75, 217);
/* oklch */ color: oklch(58.2% 0.212 307.6);
Tailwind
colors: {
  custom: {
    50: '#be83e5',
    500: '#9d4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bd9;
$custom-light: #be83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bd9",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 274.648,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.21156,
    "h": 307.6
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#9D4BD9
secondary
#BBDDA3
accent
#E84087
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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