#9A4DCC#9A4DCC

#9A4DCC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.2% C 0.194 H 309.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9A4DCC
RGBrgb(154, 77, 204)
HSLhsl(276, 55%, 55%)
HSVhsv(276, 62%, 80%)
CMYKcmyk(24.5%, 62.3%, 0%, 20%)
CIE-LABlab(47.67, 53.74, -53.17)
CIE-LCHlch(47.67, 75.60, 315.30°)
OKLaboklab(57.21% 0.1237 -0.15)
OKLCHoklch(57.21% 0.194 309.5)
XYZxyz(26.8773, 16.5379, 58.8913)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DCC #7FCC4D
analogous
#5A4DCC #9A4DCC #CC4DBF
triadic
#9A4DCC #CC9A4D #4DCC9A
tetradic
#9A4DCC #CC5A4D #7FCC4D #4DBFCC
square
#9A4DCC #CC5A4D #7FCC4D #4DBFCC
split-complementary
#9A4DCC #BFCC4D #4DCC5A
monochromatic
#59237B #7B31AB #9A4DCC #B57DDA #D0ACE7

Accessibility & contrast

On white

4.88
#9A4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9A4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4DCC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DCC#FFFFFF#000000##FFFFFF
##9A4DCC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ED0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#936685
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a4dcc;
/* rgb */ color: rgb(154, 77, 204);
/* oklch */ color: oklch(57.2% 0.194 309.5);
Tailwind
colors: {
  custom: {
    50: '#bb83dc',
    500: '#9a4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4dcc;
$custom-light: #bb83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4dcc",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 276.378,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.19438,
    "h": 309.5
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#9A4DCC
secondary
#B5D5A0
accent
#DF4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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