#A04CD1#A04CD1

#A04CD1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.203 H 310.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A04CD1
RGBrgb(160, 76, 209)
HSLhsl(278, 59%, 56%)
HSVhsv(278, 64%, 82%)
CMYKcmyk(23.4%, 63.6%, 0%, 18%)
CIE-LABlab(48.57, 56.69, -54.56)
CIE-LCHlch(48.57, 78.68, 316.10°)
OKLaboklab(58.12% 0.1323 -0.1538)
OKLCHoklch(58.12% 0.203 310.7)
XYZxyz(28.5881, 17.2465, 62.1322)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CD1 #7DD14C
analogous
#5D4CD1 #A04CD1 #D14CBF
triadic
#A04CD1 #D1A04C #4CD1A0
tetradic
#A04CD1 #D15D4C #7DD14C #4CBFD1
square
#A04CD1 #D15D4C #7DD14C #4CBFD1
split-complementary
#A04CD1 #BFD14C #4CD15D
monochromatic
#5E2181 #812EB2 #A04CD1 #BA7DDE #D4ADEA

Accessibility & contrast

On white

4.72
#A04CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A04CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CD1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CD1#FFFFFF#000000##FFFFFF
##A04CD11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#3D75CE
Tritanopia (blue-blind)
#9A6688
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04cd1;
/* rgb */ color: rgb(160, 76, 209);
/* oklch */ color: oklch(58.1% 0.203 310.7);
Tailwind
colors: {
  custom: {
    50: '#c083e0',
    500: '#a04cd1',
    950: '#000000',
  },
}
SCSS
$custom: #a04cd1;
$custom-light: #c083e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cd1",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 277.895,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.2029,
    "h": 310.7
  },
  "luminance": 0.17246
}

Semantic roles & 50–950 ramp

primary
#A04CD1
secondary
#B5D8A1
accent
#E2467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04CD1

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

Preview Lab → · Contrast checker → · Palette generator →

#A04CD1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva