#9A4CC2#9A4CC2

#9A4CC2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.185 H 312.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9A4CC2
RGBrgb(154, 76, 194)
HSLhsl(280, 49%, 53%)
HSVhsv(280, 61%, 76%)
CMYKcmyk(20.6%, 60.8%, 0%, 23.9%)
CIE-LABlab(46.89, 52.03, -48.65)
CIE-LCHlch(46.89, 71.23, 316.92°)
OKLaboklab(56.45% 0.1251 -0.1367)
OKLCHoklch(56.45% 0.185 312.5)
XYZxyz(25.6468, 15.9346, 52.7531)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CC2 #74C24C
analogous
#5F4CC2 #9A4CC2 #C24CAF
triadic
#9A4CC2 #C29A4C #4CC29A
tetradic
#9A4CC2 #C25F4C #74C24C #4CAFC2
square
#9A4CC2 #C25F4C #74C24C #4CAFC2
split-complementary
#9A4CC2 #AFC24C #4CC25F
monochromatic
#55266E #79359C #9A4CC2 #B47AD2 #CEA7E1

Accessibility & contrast

On white

5.02
#9A4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9A4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CC2#FFFFFF#000000##FFFFFF
##9A4CC21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#966280
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a4cc2;
/* rgb */ color: rgb(154, 76, 194);
/* oklch */ color: oklch(56.4% 0.185 312.5);
Tailwind
colors: {
  custom: {
    50: '#bb82d5',
    500: '#9a4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cc2;
$custom-light: #bb82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cc2",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 279.661,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.18529,
    "h": 312.5
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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