#9D4FD5#9D4FD5

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

Color values

HEX#9D4FD5
RGBrgb(157, 79, 213)
HSLhsl(275, 61%, 57%)
HSVhsv(275, 63%, 84%)
CMYKcmyk(26.3%, 62.9%, 0%, 16.5%)
CIE-LABlab(48.96, 55.46, -56.24)
CIE-LCHlch(48.96, 78.98, 314.60°)
OKLaboklab(58.4% 0.1248 -0.1589)
OKLCHoklch(58.4% 0.202 308.2)
XYZxyz(28.7084, 17.5646, 64.8158)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FD5 #87D54F
analogous
#5A4FD5 #9D4FD5 #D54FCA
triadic
#9D4FD5 #D59D4F #4FD59D
tetradic
#9D4FD5 #D55A4F #87D54F #4FCAD5
square
#9D4FD5 #D55A4F #87D54F #4FCAD5
split-complementary
#9D4FD5 #CAD54F #4FD55A
monochromatic
#5D2189 #7F2CBA #9D4FD5 #B980E1 #D4B2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4FD5#FFFFFF#000000##FFFFFF
##9D4FD51.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)
#0071D9
Deuteranopia (green-blind)
#3875D2
Tritanopia (blue-blind)
#956A8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4fd5;
/* rgb */ color: rgb(157, 79, 213);
/* oklch */ color: oklch(58.4% 0.202 308.2);
Tailwind
colors: {
  custom: {
    50: '#be85e3',
    500: '#9d4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fd5;
$custom-light: #be85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fd5",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 274.925,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58404,
    "c": 0.20202,
    "h": 308.2
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#9D4FD5
secondary
#BBDBA5
accent
#E54387
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9D4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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