#9D4FD2#9D4FD2

#9D4FD2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.2% C 0.199 H 308.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D4FD2
RGBrgb(157, 79, 210)
HSLhsl(276, 59%, 57%)
HSVhsv(276, 62%, 82%)
CMYKcmyk(25.2%, 62.4%, 0%, 17.6%)
CIE-LABlab(48.78, 54.79, -54.82)
CIE-LCHlch(48.78, 77.51, 314.98°)
OKLaboklab(58.21% 0.1249 -0.1547)
OKLCHoklch(58.21% 0.199 308.9)
XYZxyz(28.3312, 17.4137, 62.8290)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FD2 #84D24F
analogous
#5C4FD2 #9D4FD2 #D24FC6
triadic
#9D4FD2 #D29D4F #4FD29D
tetradic
#9D4FD2 #D25C4F #84D24F #4FC6D2
square
#9D4FD2 #D25C4F #84D24F #4FC6D2
split-complementary
#9D4FD2 #C6D24F #4FD25C
monochromatic
#5D2285 #7F2EB5 #9D4FD2 #B880DE #D3B0EB

Accessibility & contrast

On white

4.68
#9D4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9D4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FD2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FD2#FFFFFF#000000##FFFFFF
##9D4FD21.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0571D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#956989
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4fd2;
/* rgb */ color: rgb(157, 79, 210);
/* oklch */ color: oklch(58.2% 0.199 308.9);
Tailwind
colors: {
  custom: {
    50: '#be85e0',
    500: '#9d4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fd2;
$custom-light: #be85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fd2",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 275.725,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.19885,
    "h": 308.9
  },
  "luminance": 0.17413
}

Semantic roles & 50–950 ramp

primary
#9D4FD2
secondary
#B9D9A4
accent
#E24585
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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