#9A4DC2#9A4DC2

#9A4DC2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.184 H 312.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9A4DC2
RGBrgb(154, 77, 194)
HSLhsl(279, 49%, 53%)
HSVhsv(279, 60%, 76%)
CMYKcmyk(20.6%, 60.3%, 0%, 23.9%)
CIE-LABlab(47.07, 51.53, -48.36)
CIE-LCHlch(47.07, 70.67, 316.82°)
OKLaboklab(56.58% 0.1238 -0.1359)
OKLCHoklch(56.58% 0.184 312.3)
XYZxyz(25.7162, 16.0735, 52.7763)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DC2 #75C24D
analogous
#5F4DC2 #9A4DC2 #C24DAF
triadic
#9A4DC2 #C29A4D #4DC29A
tetradic
#9A4DC2 #C25F4D #75C24D #4DAFC2
square
#9A4DC2 #C25F4D #75C24D #4DAFC2
split-complementary
#9A4DC2 #AFC24D #4DC25F
monochromatic
#56266F #79369C #9A4DC2 #B47BD2 #CEA8E1

Accessibility & contrast

On white

4.98
#9A4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9A4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4DC2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DC2#FFFFFF#000000##FFFFFF
##9A4DC21.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#966280
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a4dc2;
/* rgb */ color: rgb(154, 77, 194);
/* oklch */ color: oklch(56.6% 0.184 312.3);
Tailwind
colors: {
  custom: {
    50: '#bb83d5',
    500: '#9a4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9a4dc2;
$custom-light: #bb83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4dc2",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 279.487,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.18383,
    "h": 312.3
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#9A4DC2
secondary
#ADCF9C
accent
#D94F7E
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9A4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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