#A04FE7#A04FE7

#A04FE7 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.222 H 305.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A04FE7
RGBrgb(160, 79, 231)
HSLhsl(272, 76%, 61%)
HSVhsv(272, 66%, 91%)
CMYKcmyk(30.7%, 65.8%, 0%, 9.4%)
CIE-LABlab(50.49, 60.18, -63.96)
CIE-LCHlch(50.49, 87.83, 313.26°)
OKLaboklab(59.96% 0.1273 -0.1815)
OKLCHoklch(59.96% 0.222 305.1)
XYZxyz(31.7138, 18.8353, 77.5506)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FE7 #96E74F
analogous
#544FE7 #A04FE7 #E74FE2
triadic
#A04FE7 #E7A04F #4FE7A0
tetradic
#A04FE7 #E7544F #96E74F #4FE2E7
square
#A04FE7 #E7544F #96E74F #4FE2E7
split-complementary
#A04FE7 #E2E74F #4FE754
monochromatic
#6217A5 #831EDB #A04FE7 #BD85EE #DABBF6

Accessibility & contrast

On white

4.41
#A04FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A04FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FE7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FE7#FFFFFF#000000##000000
##A04FE71.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#937095
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04fe7;
/* rgb */ color: rgb(160, 79, 231);
/* oklch */ color: oklch(60.0% 0.222 305.1);
Tailwind
colors: {
  custom: {
    50: '#c185ef',
    500: '#a04fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a04fe7;
$custom-light: #c185ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fe7",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 271.974,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.22169,
    "h": 305.1
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#A04FE7
secondary
#C7E6AC
accent
#D80D6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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