#9D4CD5#9D4CD5

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

Color values

HEX#9D4CD5
RGBrgb(157, 76, 213)
HSLhsl(275, 62%, 57%)
HSVhsv(275, 64%, 84%)
CMYKcmyk(26.3%, 64.3%, 0%, 16.5%)
CIE-LABlab(48.44, 56.90, -57.08)
CIE-LCHlch(48.44, 80.60, 314.91°)
OKLaboklab(58.02% 0.1283 -0.1613)
OKLCHoklch(58.02% 0.206 308.5)
XYZxyz(28.4969, 17.1415, 64.7453)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD5 #84D54C
analogous
#594CD5 #9D4CD5 #D54CC9
triadic
#9D4CD5 #D59D4C #4CD59D
tetradic
#9D4CD5 #D5594C #84D54C #4CC9D5
square
#9D4CD5 #D5594C #84D54C #4CC9D5
split-complementary
#9D4CD5 #C9D54C #4CD559
monochromatic
#5D2087 #7F2BB9 #9D4CD5 #B87EE1 #D3AFEC

Accessibility & contrast

On white

4.74
#9D4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9D4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD5#FFFFFF#000000##FFFFFF
##9D4CD51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#3474D2
Tritanopia (blue-blind)
#95688A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4cd5;
/* rgb */ color: rgb(157, 76, 213);
/* oklch */ color: oklch(58.0% 0.206 308.5);
Tailwind
colors: {
  custom: {
    50: '#be83e3',
    500: '#9d4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd5;
$custom-light: #be83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd5",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 275.474,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.2061,
    "h": 308.5
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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