#9A4CD4#9A4CD4

#9A4CD4 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.204 H 307.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9A4CD4
RGBrgb(154, 76, 212)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 64%, 83%)
CMYKcmyk(27.4%, 64.2%, 0%, 16.9%)
CIE-LABlab(48.00, 56.01, -57.24)
CIE-LCHlch(48.00, 80.09, 314.38°)
OKLaboklab(57.61% 0.1245 -0.1619)
OKLCHoklch(57.61% 0.204 307.6)
XYZxyz(27.7921, 16.7927, 64.0518)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD4 #86D44C
analogous
#564CD4 #9A4CD4 #D44CCA
triadic
#9A4CD4 #D49A4C #4CD49A
tetradic
#9A4CD4 #D4564C #86D44C #4CCAD4
square
#9A4CD4 #D4564C #86D44C #4CCAD4
split-complementary
#9A4CD4 #CAD44C #4CD456
monochromatic
#5A2086 #7C2CB7 #9A4CD4 #B67DE0 #D2AFEC

Accessibility & contrast

On white

4.82
#9A4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9A4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD4#FFFFFF#000000##FFFFFF
##9A4CD41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#3173D1
Tritanopia (blue-blind)
#916889
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4cd4;
/* rgb */ color: rgb(154, 76, 212);
/* oklch */ color: oklch(57.6% 0.204 307.6);
Tailwind
colors: {
  custom: {
    50: '#bc83e2',
    500: '#9a4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd4;
$custom-light: #bc83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd4",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 274.412,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.20419,
    "h": 307.6
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#9A4CD4
secondary
#BADAA2
accent
#E44388
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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