#9A4DDD#9A4DDD

#9A4DDD is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.212 H 305.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9A4DDD
RGBrgb(154, 77, 221)
HSLhsl(272, 68%, 58%)
HSVhsv(272, 65%, 87%)
CMYKcmyk(30.3%, 65.2%, 0%, 13.3%)
CIE-LABlab(48.76, 57.59, -61.14)
CIE-LCHlch(48.76, 83.99, 313.28°)
OKLaboklab(58.34% 0.1226 -0.1734)
OKLCHoklch(58.34% 0.212 305.3)
XYZxyz(29.0286, 17.3984, 70.2216)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DDD #90DD4D
analogous
#524DDD #9A4DDD #DD4DD8
triadic
#9A4DDD #DD9A4D #4DDD9A
tetradic
#9A4DDD #DD524D #90DD4D #4DD8DD
square
#9A4DDD #DD524D #90DD4D #4DD8DD
split-complementary
#9A4DDD #D8DD4D #4DDD52
monochromatic
#5C1C93 #7C26C7 #9A4DDD #B780E7 #D4B4F1

Accessibility & contrast

On white

4.69
#9A4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A4DDD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DDD#FFFFFF#000000##FFFFFF
##9A4DDD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2474DA
Tritanopia (blue-blind)
#8E6C8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4ddd;
/* rgb */ color: rgb(154, 77, 221);
/* oklch */ color: oklch(58.3% 0.212 305.3);
Tailwind
colors: {
  custom: {
    50: '#bc84e8',
    500: '#9a4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ddd;
$custom-light: #bc84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ddd",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 272.083,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.21235,
    "h": 305.3
  },
  "luminance": 0.17398
}

Semantic roles & 50–950 ramp

primary
#9A4DDD
secondary
#C1DFA6
accent
#EB3D8E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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