#9A4CDF#9A4CDF

#9A4CDF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.216 H 304.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9A4CDF
RGBrgb(154, 76, 223)
HSLhsl(272, 70%, 59%)
HSVhsv(272, 66%, 87%)
CMYKcmyk(30.9%, 65.9%, 0%, 12.5%)
CIE-LABlab(48.72, 58.52, -62.34)
CIE-LCHlch(48.72, 85.51, 313.19°)
OKLaboklab(58.35% 0.1236 -0.1769)
OKLCHoklch(58.35% 0.216 304.9)
XYZxyz(29.2272, 17.3668, 71.6101)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CDF #91DF4C
analogous
#504CDF #9A4CDF #DF4CDA
triadic
#9A4CDF #DF9A4C #4CDF9A
tetradic
#9A4CDF #DF504C #91DF4C #4CDADF
square
#9A4CDF #DF504C #91DF4C #4CDADF
split-complementary
#9A4CDF #DADF4C #4CDF50
monochromatic
#5C1B96 #7C24CA #9A4CDF #B780E8 #D5B4F2

Accessibility & contrast

On white

4.69
#9A4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9A4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CDF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CDF#FFFFFF#000000##FFFFFF
##9A4CDF1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#8D6C8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4cdf;
/* rgb */ color: rgb(154, 76, 223);
/* oklch */ color: oklch(58.4% 0.216 304.9);
Tailwind
colors: {
  custom: {
    50: '#bd83ea',
    500: '#9a4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cdf;
$custom-light: #bd83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cdf",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 271.837,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.21576,
    "h": 304.9
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#9A4CDF
secondary
#C2E0A6
accent
#EC3B8E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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