#9D4BD7#9D4BD7

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

Color values

HEX#9D4BD7
RGBrgb(157, 75, 215)
HSLhsl(275, 64%, 57%)
HSVhsv(275, 65%, 84%)
CMYKcmyk(27%, 65.1%, 0%, 15.7%)
CIE-LABlab(48.39, 57.82, -58.29)
CIE-LCHlch(48.39, 82.10, 314.76°)
OKLaboklab(58.03% 0.1292 -0.1649)
OKLCHoklch(58.03% 0.21 308.1)
XYZxyz(28.6839, 17.1070, 66.0677)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BD7 #85D74B
analogous
#574BD7 #9D4BD7 #D74BCB
triadic
#9D4BD7 #D79D4B #4BD79D
tetradic
#9D4BD7 #D7574B #85D74B #4BCBD7
square
#9D4BD7 #D7574B #85D74B #4BCBD7
split-complementary
#9D4BD7 #CBD74B #4BD757
monochromatic
#5D1E89 #7F2ABB #9D4BD7 #B87DE2 #D4AFED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4BD7#FFFFFF#000000##FFFFFF
##9D4BD71.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)
#0070DB
Deuteranopia (green-blind)
#3074D4
Tritanopia (blue-blind)
#94688B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4bd7;
/* rgb */ color: rgb(157, 75, 215);
/* oklch */ color: oklch(58.0% 0.209 308.1);
Tailwind
colors: {
  custom: {
    50: '#be82e4',
    500: '#9d4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bd7;
$custom-light: #be82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bd7",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 275.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.2095,
    "h": 308.1
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#9D4BD7
secondary
#BADBA2
accent
#E74186
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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