#9A4CDC#9A4CDC

#9A4CDC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.213 H 305.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9A4CDC
RGBrgb(154, 76, 220)
HSLhsl(273, 67%, 58%)
HSVhsv(273, 65%, 86%)
CMYKcmyk(30%, 65.5%, 0%, 13.7%)
CIE-LABlab(48.52, 57.83, -60.96)
CIE-LCHlch(48.52, 84.03, 313.49°)
OKLaboklab(58.15% 0.1238 -0.1728)
OKLCHoklch(58.15% 0.213 305.6)
XYZxyz(28.8263, 17.2064, 69.4988)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CDC #8EDC4C
analogous
#524CDC #9A4CDC #DC4CD6
triadic
#9A4CDC #DC9A4C #4CDC9A
tetradic
#9A4CDC #DC524C #8EDC4C #4CD6DC
square
#9A4CDC #DC524C #8EDC4C #4CD6DC
split-complementary
#9A4CDC #D6DC4C #4CDC52
monochromatic
#5C1C91 #7C26C4 #9A4CDC #B77FE6 #D4B2F0

Accessibility & contrast

On white

4.73
#9A4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9A4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CDC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CDC#FFFFFF#000000##FFFFFF
##9A4CDC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#8E6B8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a4cdc;
/* rgb */ color: rgb(154, 76, 220);
/* oklch */ color: oklch(58.1% 0.213 305.6);
Tailwind
colors: {
  custom: {
    50: '#bc83e8',
    500: '#9a4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cdc;
$custom-light: #bc83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cdc",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 272.5,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.2126,
    "h": 305.6
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#9A4CDC
secondary
#C0DFA5
accent
#EA3E8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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