#9D4FD1#9D4FD1

#9D4FD1 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.198 H 309.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9D4FD1
RGBrgb(157, 79, 209)
HSLhsl(276, 59%, 56%)
HSVhsv(276, 62%, 82%)
CMYKcmyk(24.9%, 62.2%, 0%, 18%)
CIE-LABlab(48.72, 54.56, -54.35)
CIE-LCHlch(48.72, 77.01, 315.11°)
OKLaboklab(58.14% 0.125 -0.1533)
OKLCHoklch(58.14% 0.198 309.2)
XYZxyz(28.2070, 17.3640, 62.1749)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FD1 #83D14F
analogous
#5C4FD1 #9D4FD1 #D14FC4
triadic
#9D4FD1 #D19D4F #4FD19D
tetradic
#9D4FD1 #D15C4F #83D14F #4FC4D1
square
#9D4FD1 #D15C4F #83D14F #4FC4D1
split-complementary
#9D4FD1 #C4D14F #4FD15C
monochromatic
#5C2283 #7F2FB4 #9D4FD1 #B880DE #D3B0EA

Accessibility & contrast

On white

4.70
#9D4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9D4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FD1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FD1#FFFFFF#000000##FFFFFF
##9D4FD11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A70D5
Deuteranopia (green-blind)
#3C75CE
Tritanopia (blue-blind)
#966989
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4fd1;
/* rgb */ color: rgb(157, 79, 209);
/* oklch */ color: oklch(58.1% 0.198 309.2);
Tailwind
colors: {
  custom: {
    50: '#be85e0',
    500: '#9d4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fd1;
$custom-light: #be85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fd1",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 276,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.19779,
    "h": 309.2
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#9D4FD1
secondary
#B9D9A3
accent
#E24684
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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