#9A4CDD#9A4CDD

#9A4CDD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.214 H 305.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9A4CDD
RGBrgb(154, 76, 221)
HSLhsl(272, 68%, 58%)
HSVhsv(272, 66%, 87%)
CMYKcmyk(30.3%, 65.6%, 0%, 13.3%)
CIE-LABlab(48.59, 58.06, -61.42)
CIE-LCHlch(48.59, 84.52, 313.39°)
OKLaboklab(58.22% 0.1237 -0.1742)
OKLCHoklch(58.22% 0.214 305.4)
XYZxyz(28.9591, 17.2596, 70.1984)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CDD #8FDD4C
analogous
#514CDD #9A4CDD #DD4CD7
triadic
#9A4CDD #DD9A4C #4CDD9A
tetradic
#9A4CDD #DD514C #8FDD4C #4CD7DD
square
#9A4CDD #DD514C #8FDD4C #4CD7DD
split-complementary
#9A4CDD #D7DD4C #4CDD51
monochromatic
#5C1C93 #7C26C6 #9A4CDD #B77FE7 #D4B3F1

Accessibility & contrast

On white

4.72
#9A4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9A4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CDD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CDD#FFFFFF#000000##FFFFFF
##9A4CDD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#8E6C8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a4cdd;
/* rgb */ color: rgb(154, 76, 221);
/* oklch */ color: oklch(58.2% 0.214 305.4);
Tailwind
colors: {
  custom: {
    50: '#bc83e8',
    500: '#9a4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cdd;
$custom-light: #bc83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cdd",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 272.276,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.21366,
    "h": 305.4
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#9A4CDD
secondary
#C0DFA6
accent
#EB3D8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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