#9D4DDB#9D4DDB

#9D4DDB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.211 H 306.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9D4DDB
RGBrgb(157, 77, 219)
HSLhsl(274, 66%, 58%)
HSVhsv(274, 65%, 86%)
CMYKcmyk(28.3%, 64.8%, 0%, 14.1%)
CIE-LABlab(49.00, 57.77, -59.60)
CIE-LCHlch(49.00, 83.01, 314.10°)
OKLaboklab(58.55% 0.1267 -0.1687)
OKLCHoklch(58.55% 0.211 306.9)
XYZxyz(29.3420, 17.5907, 68.8537)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DDB #8BDB4D
analogous
#564DDB #9D4DDB #DB4DD2
triadic
#9D4DDB #DB9D4D #4DDB9D
tetradic
#9D4DDB #DB564D #8BDB4D #4DD2DB
square
#9D4DDB #DB564D #8BDB4D #4DD2DB
split-complementary
#9D4DDB #D2DB4D #4DDB56
monochromatic
#5E1D90 #7F27C3 #9D4DDB #B980E5 #D5B3F0

Accessibility & contrast

On white

4.65
#9D4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9D4DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DDB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DDB#FFFFFF#000000##FFFFFF
##9D4DDB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#936B8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4ddb;
/* rgb */ color: rgb(157, 77, 219);
/* oklch */ color: oklch(58.5% 0.211 306.9);
Tailwind
colors: {
  custom: {
    50: '#be84e7',
    500: '#9d4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ddb;
$custom-light: #be84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ddb",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 273.803,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.21101,
    "h": 306.9
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#9D4DDB
secondary
#BEDEA6
accent
#E93F89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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