#9D4FD3#9D4FD3

#9D4FD3 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.3% C 0.200 H 308.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D4FD3
RGBrgb(157, 79, 211)
HSLhsl(275, 60%, 57%)
HSVhsv(275, 63%, 83%)
CMYKcmyk(25.6%, 62.6%, 0%, 17.3%)
CIE-LABlab(48.84, 55.01, -55.29)
CIE-LCHlch(48.84, 78.00, 314.85°)
OKLaboklab(58.27% 0.1249 -0.1561)
OKLCHoklch(58.27% 0.2 308.7)
XYZxyz(28.4561, 17.4637, 63.4871)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FD3 #85D34F
analogous
#5B4FD3 #9D4FD3 #D34FC7
triadic
#9D4FD3 #D39D4F #4FD39D
tetradic
#9D4FD3 #D35B4F #85D34F #4FC7D3
square
#9D4FD3 #D35B4F #85D34F #4FC7D3
split-complementary
#9D4FD3 #C7D34F #4FD35B
monochromatic
#5D2286 #7F2EB7 #9D4FD3 #B880DF #D4B1EB

Accessibility & contrast

On white

4.67
#9D4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9D4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FD3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FD3#FFFFFF#000000##FFFFFF
##9D4FD31.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0171D7
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#95698A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4fd3;
/* rgb */ color: rgb(157, 79, 211);
/* oklch */ color: oklch(58.3% 0.200 308.7);
Tailwind
colors: {
  custom: {
    50: '#be85e1',
    500: '#9d4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fd3;
$custom-light: #be85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fd3",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 275.455,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.19991,
    "h": 308.7
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#9D4FD3
secondary
#BADAA4
accent
#E34585
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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