#9D4FDD#9D4FDD

#9D4FDD is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.210 H 306.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9D4FDD
RGBrgb(157, 79, 221)
HSLhsl(273, 68%, 59%)
HSVhsv(273, 64%, 87%)
CMYKcmyk(29%, 64.3%, 0%, 13.3%)
CIE-LABlab(49.47, 57.27, -59.97)
CIE-LCHlch(49.47, 82.93, 313.68°)
OKLaboklab(58.93% 0.1243 -0.1698)
OKLCHoklch(58.93% 0.21 306.2)
XYZxyz(29.7490, 17.9808, 70.2960)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FDD #8FDD4F
analogous
#564FDD #9D4FDD #DD4FD6
triadic
#9D4FDD #DD9D4F #4FDD9D
tetradic
#9D4FDD #DD564F #8FDD4F #4FD6DD
square
#9D4FDD #DD564F #8FDD4F #4FD6DD
split-complementary
#9D4FDD #D6DD4F #4FDD56
monochromatic
#5F1D95 #7F27C8 #9D4FDD #BA82E7 #D6B6F1

Accessibility & contrast

On white

4.57
#9D4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9D4FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4FDD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FDD#FFFFFF#000000##000000
##9D4FDD1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#926D8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4fdd;
/* rgb */ color: rgb(157, 79, 221);
/* oklch */ color: oklch(58.9% 0.210 306.2);
Tailwind
colors: {
  custom: {
    50: '#be85e8',
    500: '#9d4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fdd;
$custom-light: #be85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fdd",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 272.958,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.21046,
    "h": 306.2
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#9D4FDD
secondary
#C1E0A8
accent
#EA3D8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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