#9A4CD6#9A4CD6

#9A4CD6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.206 H 307.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9A4CD6
RGBrgb(154, 76, 214)
HSLhsl(274, 63%, 57%)
HSVhsv(274, 64%, 84%)
CMYKcmyk(28%, 64.5%, 0%, 16.1%)
CIE-LABlab(48.13, 56.47, -58.17)
CIE-LCHlch(48.13, 81.07, 314.15°)
OKLaboklab(57.74% 0.1243 -0.1646)
OKLCHoklch(57.74% 0.206 307.1)
XYZxyz(28.0459, 16.8943, 65.3887)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD6 #88D64C
analogous
#554CD6 #9A4CD6 #D64CCD
triadic
#9A4CD6 #D69A4C #4CD69A
tetradic
#9A4CD6 #D6554C #88D64C #4CCDD6
square
#9A4CD6 #D6554C #88D64C #4CCDD6
split-complementary
#9A4CD6 #CDD64C #4CD655
monochromatic
#5B1F88 #7C2BBA #9A4CD6 #B67EE1 #D2B0ED

Accessibility & contrast

On white

4.80
#9A4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9A4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD6#FFFFFF#000000##FFFFFF
##9A4CD61.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#2E73D3
Tritanopia (blue-blind)
#90698A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4cd6;
/* rgb */ color: rgb(154, 76, 214);
/* oklch */ color: oklch(57.7% 0.206 307.1);
Tailwind
colors: {
  custom: {
    50: '#bc83e3',
    500: '#9a4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd6;
$custom-light: #bc83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd6",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 273.913,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.2063,
    "h": 307.1
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#9A4CD6
secondary
#BBDBA3
accent
#E64289
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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