#A04FED#A04FED

#A04FED is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.228 H 303.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A04FED
RGBrgb(160, 79, 237)
HSLhsl(271, 81%, 62%)
HSVhsv(271, 67%, 93%)
CMYKcmyk(32.5%, 66.7%, 0%, 7.1%)
CIE-LABlab(50.90, 61.56, -66.69)
CIE-LCHlch(50.90, 90.76, 312.71°)
OKLaboklab(60.37% 0.1267 -0.1895)
OKLCHoklch(60.37% 0.228 303.8)
XYZxyz(32.5758, 19.1800, 82.0903)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FED #9CED4F
analogous
#514FED #A04FED #ED4FEB
triadic
#A04FED #EDA04F #4FEDA0
tetradic
#A04FED #ED514F #9CED4F #4FEBED
square
#A04FED #ED514F #9CED4F #4FEBED
split-complementary
#A04FED #EBED4F #4FED51
monochromatic
#6312B0 #8218E7 #A04FED #BE87F3 #DCBEF8

Accessibility & contrast

On white

4.34
#A04FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A04FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FED
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FED#FFFFFF#000000##000000
##A04FED1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#0B79EA
Tritanopia (blue-blind)
#917398
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a04fed;
/* rgb */ color: rgb(160, 79, 237);
/* oklch */ color: oklch(60.4% 0.228 303.8);
Tailwind
colors: {
  custom: {
    50: '#c186f4',
    500: '#a04fed',
    950: '#000000',
  },
}
SCSS
$custom: #a04fed;
$custom-light: #c186f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fed",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 270.759,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.22793,
    "h": 303.8
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#A04FED
secondary
#CBE9AF
accent
#DE0870
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04FED

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

Preview Lab → · Contrast checker → · Palette generator →

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