#9A4CD1#9A4CD1

#9A4CD1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.201 H 308.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9A4CD1
RGBrgb(154, 76, 209)
HSLhsl(275, 59%, 56%)
HSVhsv(275, 64%, 82%)
CMYKcmyk(26.3%, 63.6%, 0%, 18%)
CIE-LABlab(47.81, 55.34, -55.83)
CIE-LCHlch(47.81, 78.61, 314.75°)
OKLaboklab(57.41% 0.1246 -0.1577)
OKLCHoklch(57.41% 0.201 308.3)
XYZxyz(27.4172, 16.6428, 62.0773)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD1 #83D14C
analogous
#574CD1 #9A4CD1 #D14CC5
triadic
#9A4CD1 #D19A4C #4CD19A
tetradic
#9A4CD1 #D1574C #83D14C #4CC5D1
square
#9A4CD1 #D1574C #83D14C #4CC5D1
split-complementary
#9A4CD1 #C5D14C #4CD157
monochromatic
#5A2181 #7B2EB2 #9A4CD1 #B57DDE #D1ADEA

Accessibility & contrast

On white

4.85
#9A4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9A4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD1#FFFFFF#000000##FFFFFF
##9A4CD11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#3572CE
Tritanopia (blue-blind)
#926788
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a4cd1;
/* rgb */ color: rgb(154, 76, 209);
/* oklch */ color: oklch(57.4% 0.201 308.3);
Tailwind
colors: {
  custom: {
    50: '#bc83e0',
    500: '#9a4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd1;
$custom-light: #bc83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd1",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 275.188,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.20103,
    "h": 308.3
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#9A4CD1
secondary
#B8D8A1
accent
#E24686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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