#9A4DDC#9A4DDC

#9A4DDC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.211 H 305.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9A4DDC
RGBrgb(154, 77, 220)
HSLhsl(272, 67%, 58%)
HSVhsv(272, 65%, 86%)
CMYKcmyk(30%, 65%, 0%, 13.7%)
CIE-LABlab(48.69, 57.36, -60.68)
CIE-LCHlch(48.69, 83.50, 313.39°)
OKLaboklab(58.27% 0.1227 -0.172)
OKLCHoklch(58.27% 0.211 305.5)
XYZxyz(28.8957, 17.3453, 69.5220)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DDC #8FDC4D
analogous
#524DDC #9A4DDC #DC4DD6
triadic
#9A4DDC #DC9A4D #4DDC9A
tetradic
#9A4DDC #DC524D #8FDC4D #4DD6DC
square
#9A4DDC #DC524D #8FDC4D #4DD6DC
split-complementary
#9A4DDC #D6DC4D #4DDC52
monochromatic
#5C1D92 #7C27C5 #9A4DDC #B780E6 #D4B3F0

Accessibility & contrast

On white

4.70
#9A4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9A4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4DDC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DDC#FFFFFF#000000##FFFFFF
##9A4DDC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#8E6C8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4ddc;
/* rgb */ color: rgb(154, 77, 220);
/* oklch */ color: oklch(58.3% 0.211 305.5);
Tailwind
colors: {
  custom: {
    50: '#bc84e8',
    500: '#9a4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ddc;
$custom-light: #bc84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ddc",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 272.308,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.2113,
    "h": 305.5
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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