#A04FD6#A04FD6

#A04FD6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.204 H 309.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A04FD6
RGBrgb(160, 79, 214)
HSLhsl(276, 62%, 57%)
HSVhsv(276, 63%, 84%)
CMYKcmyk(25.2%, 63.1%, 0%, 16.1%)
CIE-LABlab(49.40, 56.36, -56.09)
CIE-LCHlch(49.40, 79.51, 315.14°)
OKLaboklab(58.82% 0.1286 -0.1583)
OKLCHoklch(58.82% 0.204 309.1)
XYZxyz(29.4284, 17.9211, 65.5141)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FD6 #85D64F
analogous
#5D4FD6 #A04FD6 #D64FC9
triadic
#A04FD6 #D6A04F #4FD6A0
tetradic
#A04FD6 #D65D4F #85D64F #4FC9D6
square
#A04FD6 #D65D4F #85D64F #4FC9D6
split-complementary
#A04FD6 #C9D64F #4FD65D
monochromatic
#60208A #822CBC #A04FD6 #BB81E2 #D6B2ED

Accessibility & contrast

On white

4.58
#A04FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A04FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FD6
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FD6#FFFFFF#000000##000000
##A04FD61.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#3B77D3
Tritanopia (blue-blind)
#986A8B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a04fd6;
/* rgb */ color: rgb(160, 79, 214);
/* oklch */ color: oklch(58.8% 0.204 309.1);
Tailwind
colors: {
  custom: {
    50: '#c085e3',
    500: '#a04fd6',
    950: '#000000',
  },
}
SCSS
$custom: #a04fd6;
$custom-light: #c085e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fd6",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 276,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.20396,
    "h": 309.1
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#A04FD6
secondary
#BBDCA5
accent
#E54384
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A04FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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