#9A4CD8#9A4CD8

#9A4CD8 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.208 H 306.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9A4CD8
RGBrgb(154, 76, 216)
HSLhsl(273, 64%, 57%)
HSVhsv(273, 65%, 85%)
CMYKcmyk(28.7%, 64.8%, 0%, 15.3%)
CIE-LABlab(48.26, 56.92, -59.11)
CIE-LCHlch(48.26, 82.06, 313.92°)
OKLaboklab(57.87% 0.1242 -0.1674)
OKLCHoklch(57.87% 0.208 306.6)
XYZxyz(28.3029, 16.9971, 66.7422)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD8 #8AD84C
analogous
#544CD8 #9A4CD8 #D84CD0
triadic
#9A4CD8 #D89A4C #4CD89A
tetradic
#9A4CD8 #D8544C #8AD84C #4CD0D8
square
#9A4CD8 #D8544C #8AD84C #4CD0D8
split-complementary
#9A4CD8 #D0D84C #4CD854
monochromatic
#5B1E8B #7C29BE #9A4CD8 #B67EE3 #D3B1EE

Accessibility & contrast

On white

4.77
#9A4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9A4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD8#FFFFFF#000000##FFFFFF
##9A4CD81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#2B73D5
Tritanopia (blue-blind)
#906A8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a4cd8;
/* rgb */ color: rgb(154, 76, 216);
/* oklch */ color: oklch(57.9% 0.208 306.6);
Tailwind
colors: {
  custom: {
    50: '#bc83e5',
    500: '#9a4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd8;
$custom-light: #bc83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd8",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 273.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.2084,
    "h": 306.6
  },
  "luminance": 0.16997
}

Semantic roles & 50–950 ramp

primary
#9A4CD8
secondary
#BDDCA4
accent
#E7418A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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