#A04FE6#A04FE6

#A04FE6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.221 H 305.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A04FE6
RGBrgb(160, 79, 230)
HSLhsl(272, 75%, 61%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(30.4%, 65.7%, 0%, 9.8%)
CIE-LABlab(50.43, 59.96, -63.51)
CIE-LCHlch(50.43, 87.34, 313.35°)
OKLaboklab(59.89% 0.1274 -0.1801)
OKLCHoklch(59.89% 0.221 305.3)
XYZxyz(31.5730, 18.7789, 76.8089)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FE6 #95E64F
analogous
#544FE6 #A04FE6 #E64FE1
triadic
#A04FE6 #E6A04F #4FE6A0
tetradic
#A04FE6 #E6544F #95E64F #4FE1E6
square
#A04FE6 #E6544F #95E64F #4FE1E6
split-complementary
#A04FE6 #E1E64F #4FE654
monochromatic
#6217A3 #831FD9 #A04FE6 #BD85EE #DABAF5

Accessibility & contrast

On white

4.42
#A04FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A04FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FE6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FE6#FFFFFF#000000##000000
##A04FE61.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#2278E3
Tritanopia (blue-blind)
#937094
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04fe6;
/* rgb */ color: rgb(160, 79, 230);
/* oklch */ color: oklch(59.9% 0.221 305.3);
Tailwind
colors: {
  custom: {
    50: '#c185ef',
    500: '#a04fe6',
    950: '#000000',
  },
}
SCSS
$custom: #a04fe6;
$custom-light: #c185ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fe6",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 272.185,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.22064,
    "h": 305.3
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#A04FE6
secondary
#C6E5AC
accent
#D70E6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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