#A04CD3#A04CD3

#A04CD3 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.205 H 310.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A04CD3
RGBrgb(160, 76, 211)
HSLhsl(277, 61%, 56%)
HSVhsv(277, 64%, 83%)
CMYKcmyk(24.2%, 64%, 0%, 17.3%)
CIE-LABlab(48.69, 57.13, -55.51)
CIE-LCHlch(48.69, 79.65, 315.82°)
OKLaboklab(58.25% 0.1322 -0.1566)
OKLCHoklch(58.25% 0.205 310.2)
XYZxyz(28.8373, 17.3462, 63.4444)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CD3 #7FD34C
analogous
#5D4CD3 #A04CD3 #D34CC3
triadic
#A04CD3 #D3A04C #4CD3A0
tetradic
#A04CD3 #D35D4C #7FD34C #4CC3D3
square
#A04CD3 #D35D4C #7FD34C #4CC3D3
split-complementary
#A04CD3 #C3D34C #4CD35D
monochromatic
#5E2084 #822DB5 #A04CD3 #BA7DDF #D4AEEB

Accessibility & contrast

On white

4.70
#A04CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A04CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CD3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CD3#FFFFFF#000000##FFFFFF
##A04CD31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#996789
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04cd3;
/* rgb */ color: rgb(160, 76, 211);
/* oklch */ color: oklch(58.3% 0.205 310.2);
Tailwind
colors: {
  custom: {
    50: '#c083e1',
    500: '#a04cd3',
    950: '#000000',
  },
}
SCSS
$custom: #a04cd3;
$custom-light: #c083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cd3",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 277.333,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.20496,
    "h": 310.2
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#A04CD3
secondary
#B7D9A2
accent
#E44480
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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