#9D4FDA#9D4FDA

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

Color values

HEX#9D4FDA
RGBrgb(157, 79, 218)
HSLhsl(274, 65%, 58%)
HSVhsv(274, 64%, 85%)
CMYKcmyk(28%, 63.8%, 0%, 14.5%)
CIE-LABlab(49.28, 56.59, -58.58)
CIE-LCHlch(49.28, 81.45, 314.01°)
OKLaboklab(58.73% 0.1245 -0.1657)
OKLCHoklch(58.73% 0.207 306.9)
XYZxyz(29.3528, 17.8223, 68.2098)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FDA #8CDA4F
analogous
#574FDA #9D4FDA #DA4FD1
triadic
#9D4FDA #DA9D4F #4FDA9D
tetradic
#9D4FDA #DA574F #8CDA4F #4FD1DA
square
#9D4FDA #DA574F #8CDA4F #4FD1DA
split-complementary
#9D4FDA #D1DA4F #4FDA57
monochromatic
#5E1E90 #7F29C3 #9D4FDA #B982E5 #D5B4EF

Accessibility & contrast

On white

4.60
#9D4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9D4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FDA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FDA#FFFFFF#000000##FFFFFF
##9D4FDA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#936C8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4fda;
/* rgb */ color: rgb(157, 79, 218);
/* oklch */ color: oklch(58.7% 0.207 306.9);
Tailwind
colors: {
  custom: {
    50: '#be85e6',
    500: '#9d4fda',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fda;
$custom-light: #be85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fda",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 273.669,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58733,
    "c": 0.2073,
    "h": 306.9
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

primary
#9D4FDA
secondary
#BFDEA7
accent
#E8408A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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