#A04FCE#A04FCE

#A04FCE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.3% C 0.196 H 311.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A04FCE
RGBrgb(160, 79, 206)
HSLhsl(278, 56%, 56%)
HSVhsv(278, 62%, 81%)
CMYKcmyk(22.3%, 61.7%, 0%, 19.2%)
CIE-LABlab(48.91, 54.60, -52.29)
CIE-LCHlch(48.91, 75.60, 316.24°)
OKLaboklab(58.31% 0.1288 -0.1472)
OKLCHoklch(58.31% 0.196 311.2)
XYZxyz(28.4317, 17.5224, 60.2650)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FCE #7DCE4F
analogous
#604FCE #A04FCE #CE4FBC
triadic
#A04FCE #CEA04F #4FCEA0
tetradic
#A04FCE #CE604F #7DCE4F #4FBCCE
square
#A04FCE #CE604F #7DCE4F #4FBCCE
split-complementary
#A04FCE #BCCE4F #4FCE60
monochromatic
#5E237F #8131AF #A04FCE #BA7FDB #D4AFE9

Accessibility & contrast

On white

4.66
#A04FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A04FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FCE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FCE#FFFFFF#000000##FFFFFF
##A04FCE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#9A6787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04fce;
/* rgb */ color: rgb(160, 79, 206);
/* oklch */ color: oklch(58.3% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#bf85de',
    500: '#a04fce',
    950: '#000000',
  },
}
SCSS
$custom: #a04fce;
$custom-light: #bf85de;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fce",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 278.268,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.19563,
    "h": 311.2
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#A04FCE
secondary
#B5D7A2
accent
#E0487F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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