#A04ECF#A04ECF

#A04ECF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.2% C 0.198 H 311.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A04ECF
RGBrgb(160, 78, 207)
HSLhsl(278, 57%, 56%)
HSVhsv(278, 62%, 81%)
CMYKcmyk(22.7%, 62.3%, 0%, 18.8%)
CIE-LABlab(48.79, 55.30, -53.05)
CIE-LCHlch(48.79, 76.64, 316.19°)
OKLaboklab(58.24% 0.13 -0.1494)
OKLCHoklch(58.24% 0.198 311)
XYZxyz(28.4820, 17.4280, 60.8829)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04ECF #7DCF4E
analogous
#5F4ECF #A04ECF #CF4EBD
triadic
#A04ECF #CFA04E #4ECFA0
tetradic
#A04ECF #CF5F4E #7DCF4E #4EBDCF
square
#A04ECF #CF5F4E #7DCF4E #4EBDCF
split-complementary
#A04ECF #BDCF4E #4ECF5F
monochromatic
#5E2380 #8130B0 #A04ECF #BA7EDC #D4AEE9

Accessibility & contrast

On white

4.68
#A04ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A04ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04ECF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04ECF#FFFFFF#000000##FFFFFF
##A04ECF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#9A6787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04ecf;
/* rgb */ color: rgb(160, 78, 207);
/* oklch */ color: oklch(58.2% 0.198 311.0);
Tailwind
colors: {
  custom: {
    50: '#c084de',
    500: '#a04ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a04ecf;
$custom-light: #c084de;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ecf",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 278.14,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.19808,
    "h": 311
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A04ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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