#9D4BDD#9D4BDD

#9D4BDD is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.216 H 306.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D4BDD
RGBrgb(157, 75, 221)
HSLhsl(274, 68%, 58%)
HSVhsv(274, 66%, 87%)
CMYKcmyk(29%, 66.1%, 0%, 13.3%)
CIE-LABlab(48.79, 59.16, -61.08)
CIE-LCHlch(48.79, 85.03, 314.09°)
OKLaboklab(58.44% 0.1287 -0.1731)
OKLCHoklch(58.44% 0.216 306.6)
XYZxyz(29.4691, 17.4210, 70.2027)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BDD #8BDD4B
analogous
#544BDD #9D4BDD #DD4BD4
triadic
#9D4BDD #DD9D4B #4BDD9D
tetradic
#9D4BDD #DD544B #8BDD4B #4BD4DD
square
#9D4BDD #DD544B #8BDD4B #4BD4DD
split-complementary
#9D4BDD #D4DD4B #4BDD54
monochromatic
#5E1C92 #7F25C5 #9D4BDD #B97EE7 #D5B2F0

Accessibility & contrast

On white

4.68
#9D4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9D4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BDD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BDD#FFFFFF#000000##FFFFFF
##9D4BDD1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#2674DA
Tritanopia (blue-blind)
#926B8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4bdd;
/* rgb */ color: rgb(157, 75, 221);
/* oklch */ color: oklch(58.4% 0.216 306.6);
Tailwind
colors: {
  custom: {
    50: '#be83e8',
    500: '#9d4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bdd;
$custom-light: #be83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bdd",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 273.699,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.2157,
    "h": 306.6
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#9D4BDD
secondary
#BEDFA5
accent
#EB3D89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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