#9D4CDD#9D4CDD

#9D4CDD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.214 H 306.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9D4CDD
RGBrgb(157, 76, 221)
HSLhsl(274, 68%, 58%)
HSVhsv(274, 66%, 87%)
CMYKcmyk(29%, 65.6%, 0%, 13.3%)
CIE-LABlab(48.96, 58.69, -60.81)
CIE-LCHlch(48.96, 84.51, 313.99°)
OKLaboklab(58.56% 0.1276 -0.1723)
OKLCHoklch(58.56% 0.214 306.5)
XYZxyz(29.5374, 17.5577, 70.2255)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CDD #8CDD4C
analogous
#544CDD #9D4CDD #DD4CD5
triadic
#9D4CDD #DD9D4C #4CDD9D
tetradic
#9D4CDD #DD544C #8CDD4C #4CD5DD
square
#9D4CDD #DD544C #8CDD4C #4CD5DD
split-complementary
#9D4CDD #D5DD4C #4CDD54
monochromatic
#5E1C93 #7F26C6 #9D4CDD #B97FE7 #D5B3F1

Accessibility & contrast

On white

4.65
#9D4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9D4CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CDD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CDD#FFFFFF#000000##FFFFFF
##9D4CDD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d4cdd;
/* rgb */ color: rgb(157, 76, 221);
/* oklch */ color: oklch(58.6% 0.214 306.5);
Tailwind
colors: {
  custom: {
    50: '#be83e8',
    500: '#9d4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cdd;
$custom-light: #be83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cdd",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 273.517,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.2144,
    "h": 306.5
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#9D4CDD
secondary
#BFDFA6
accent
#EB3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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