#A04FD2#A04FD2

#A04FD2 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.6% C 0.200 H 310.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A04FD2
RGBrgb(160, 79, 210)
HSLhsl(277, 59%, 57%)
HSVhsv(277, 62%, 82%)
CMYKcmyk(23.8%, 62.4%, 0%, 17.6%)
CIE-LABlab(49.15, 55.48, -54.20)
CIE-LCHlch(49.15, 77.56, 315.67°)
OKLaboklab(58.56% 0.1287 -0.1528)
OKLCHoklch(58.56% 0.2 310.1)
XYZxyz(28.9238, 17.7193, 62.8567)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FD2 #81D24F
analogous
#5F4FD2 #A04FD2 #D24FC3
triadic
#A04FD2 #D2A04F #4FD2A0
tetradic
#A04FD2 #D25F4F #81D24F #4FC3D2
square
#A04FD2 #D25F4F #81D24F #4FC3D2
split-complementary
#A04FD2 #C3D24F #4FD25F
monochromatic
#5F2285 #822EB5 #A04FD2 #BA80DE #D5B0EB

Accessibility & contrast

On white

4.62
#A04FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A04FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FD2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FD2#FFFFFF#000000##FFFFFF
##A04FD21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C71D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#996989
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a04fd2;
/* rgb */ color: rgb(160, 79, 210);
/* oklch */ color: oklch(58.6% 0.200 310.1);
Tailwind
colors: {
  custom: {
    50: '#c085e0',
    500: '#a04fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a04fd2;
$custom-light: #c085e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fd2",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 277.099,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58563,
    "c": 0.19979,
    "h": 310.1
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#A04FD2
secondary
#B8D9A4
accent
#E24581
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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