#A04EE7#A04EE7

#A04EE7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.223 H 305.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A04EE7
RGBrgb(160, 78, 231)
HSLhsl(272, 76%, 61%)
HSVhsv(272, 66%, 91%)
CMYKcmyk(30.7%, 66.2%, 0%, 9.4%)
CIE-LABlab(50.33, 60.65, -64.24)
CIE-LCHlch(50.33, 88.35, 313.35°)
OKLaboklab(59.84% 0.1284 -0.1823)
OKLCHoklch(59.84% 0.223 305.2)
XYZxyz(31.6422, 18.6921, 77.5268)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EE7 #95E74E
analogous
#534EE7 #A04EE7 #E74EE1
triadic
#A04EE7 #E7A04E #4EE7A0
tetradic
#A04EE7 #E7534E #95E74E #4EE1E7
square
#A04EE7 #E7534E #95E74E #4EE1E7
split-complementary
#A04EE7 #E1E74E #4EE753
monochromatic
#6216A4 #831EDA #A04EE7 #BD84EE #DABAF6

Accessibility & contrast

On white

4.43
#A04EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A04EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04EE7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EE7#FFFFFF#000000##000000
##A04EE71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1D78E4
Tritanopia (blue-blind)
#937094
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04ee7;
/* rgb */ color: rgb(160, 78, 231);
/* oklch */ color: oklch(59.8% 0.223 305.2);
Tailwind
colors: {
  custom: {
    50: '#c185ef',
    500: '#a04ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a04ee7;
$custom-light: #c185ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ee7",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 272.157,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.22295,
    "h": 305.2
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#A04EE7
secondary
#C6E5AB
accent
#D80D6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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