#A04FD5#A04FD5

#A04FD5 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.203 H 309.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A04FD5
RGBrgb(160, 79, 213)
HSLhsl(276, 61%, 57%)
HSVhsv(276, 63%, 84%)
CMYKcmyk(24.9%, 62.9%, 0%, 16.5%)
CIE-LABlab(49.34, 56.14, -55.61)
CIE-LCHlch(49.34, 79.02, 315.27°)
OKLaboklab(58.76% 0.1286 -0.1569)
OKLCHoklch(58.76% 0.203 309.3)
XYZxyz(29.3011, 17.8702, 64.8436)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FD5 #84D54F
analogous
#5D4FD5 #A04FD5 #D54FC7
triadic
#A04FD5 #D5A04F #4FD5A0
tetradic
#A04FD5 #D55D4F #84D54F #4FC7D5
square
#A04FD5 #D55D4F #84D54F #4FC7D5
split-complementary
#A04FD5 #C7D54F #4FD55D
monochromatic
#602189 #822CBA #A04FD5 #BB80E1 #D5B2ED

Accessibility & contrast

On white

4.59
#A04FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A04FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FD5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FD5#FFFFFF#000000##FFFFFF
##A04FD51.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#3C76D2
Tritanopia (blue-blind)
#996A8B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a04fd5;
/* rgb */ color: rgb(160, 79, 213);
/* oklch */ color: oklch(58.8% 0.203 309.3);
Tailwind
colors: {
  custom: {
    50: '#c085e3',
    500: '#a04fd5',
    950: '#000000',
  },
}
SCSS
$custom: #a04fd5;
$custom-light: #c085e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fd5",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 276.269,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.20292,
    "h": 309.3
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#A04FD5
secondary
#BADBA5
accent
#E54383
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A04FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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