#9D4FD9#9D4FD9

#9D4FD9 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.206 H 307.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9D4FD9
RGBrgb(157, 79, 217)
HSLhsl(274, 64%, 58%)
HSVhsv(274, 64%, 85%)
CMYKcmyk(27.6%, 63.6%, 0%, 14.9%)
CIE-LABlab(49.22, 56.36, -58.11)
CIE-LCHlch(49.22, 80.95, 314.12°)
OKLaboklab(58.67% 0.1246 -0.1644)
OKLCHoklch(58.67% 0.206 307.2)
XYZxyz(29.2224, 17.7702, 67.5227)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FD9 #8BD94F
analogous
#584FD9 #9D4FD9 #D94FD0
triadic
#9D4FD9 #D99D4F #4FD99D
tetradic
#9D4FD9 #D9584F #8BD94F #4FD0D9
square
#9D4FD9 #D9584F #8BD94F #4FD0D9
split-complementary
#9D4FD9 #D0D94F #4FD958
monochromatic
#5E1F8F #7F2AC1 #9D4FD9 #B981E4 #D5B4EF

Accessibility & contrast

On white

4.61
#9D4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9D4FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FD9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FD9#FFFFFF#000000##FFFFFF
##9D4FD91.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3376D6
Tritanopia (blue-blind)
#936C8D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4fd9;
/* rgb */ color: rgb(157, 79, 217);
/* oklch */ color: oklch(58.7% 0.206 307.2);
Tailwind
colors: {
  custom: {
    50: '#be85e5',
    500: '#9d4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fd9;
$custom-light: #be85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fd9",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 273.913,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.20625,
    "h": 307.2
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#9D4FD9
secondary
#BEDDA6
accent
#E74089
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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