#A04FE3#A04FE3

#A04FE3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.218 H 306.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A04FE3
RGBrgb(160, 79, 227)
HSLhsl(273, 73%, 60%)
HSVhsv(273, 65%, 89%)
CMYKcmyk(29.5%, 65.2%, 0%, 11%)
CIE-LABlab(50.23, 59.27, -62.13)
CIE-LCHlch(50.23, 85.87, 313.65°)
OKLaboklab(59.68% 0.1277 -0.1761)
OKLCHoklch(59.68% 0.218 306)
XYZxyz(31.1553, 18.6119, 74.6093)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FE3 #92E34F
analogous
#564FE3 #A04FE3 #E34FDC
triadic
#A04FE3 #E3A04F #4FE3A0
tetradic
#A04FE3 #E3564F #92E34F #4FDCE3
square
#A04FE3 #E3564F #92E34F #4FDCE3
split-complementary
#A04FE3 #DCE34F #4FE356
monochromatic
#62199E #8322D3 #A04FE3 #BD84EB #D9B9F4

Accessibility & contrast

On white

4.45
#A04FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A04FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FE3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FE3#FFFFFF#000000##000000
##A04FE31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#946F92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a04fe3;
/* rgb */ color: rgb(160, 79, 227);
/* oklch */ color: oklch(59.7% 0.218 306.0);
Tailwind
colors: {
  custom: {
    50: '#c185ed',
    500: '#a04fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a04fe3;
$custom-light: #c185ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fe3",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 272.838,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.21752,
    "h": 306
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#A04FE3
secondary
#C4E3AA
accent
#EF398B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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