#9A4CD5#9A4CD5

#9A4CD5 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.205 H 307.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9A4CD5
RGBrgb(154, 76, 213)
HSLhsl(274, 62%, 57%)
HSVhsv(274, 64%, 84%)
CMYKcmyk(27.7%, 64.3%, 0%, 16.5%)
CIE-LABlab(48.06, 56.24, -57.71)
CIE-LCHlch(48.06, 80.58, 314.26°)
OKLaboklab(57.67% 0.1244 -0.1633)
OKLCHoklch(57.67% 0.205 307.3)
XYZxyz(27.9186, 16.8434, 64.7182)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD5 #87D54C
analogous
#564CD5 #9A4CD5 #D54CCB
triadic
#9A4CD5 #D59A4C #4CD59A
tetradic
#9A4CD5 #D5564C #87D54C #4CCBD5
square
#9A4CD5 #D5564C #87D54C #4CCBD5
split-complementary
#9A4CD5 #CBD54C #4CD556
monochromatic
#5A2087 #7C2BB9 #9A4CD5 #B67EE1 #D2AFEC

Accessibility & contrast

On white

4.81
#9A4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9A4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD5#FFFFFF#000000##FFFFFF
##9A4CD51.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#3073D2
Tritanopia (blue-blind)
#91698A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4cd5;
/* rgb */ color: rgb(154, 76, 213);
/* oklch */ color: oklch(57.7% 0.205 307.3);
Tailwind
colors: {
  custom: {
    50: '#bc83e3',
    500: '#9a4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd5;
$custom-light: #bc83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd5",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 274.161,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.20525,
    "h": 307.3
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#9A4CD5
secondary
#BBDAA2
accent
#E54389
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9A4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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