#A02ECA#A02ECA

#A02ECA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.6% C 0.232 H 314.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A02ECA
RGBrgb(160, 46, 202)
HSLhsl(284, 63%, 49%)
HSVhsv(284, 77%, 79%)
CMYKcmyk(20.8%, 77.2%, 0%, 20.8%)
CIE-LABlab(43.79, 67.42, -58.23)
CIE-LCHlch(43.79, 89.08, 319.18°)
OKLaboklab(54.56% 0.1632 -0.1644)
OKLCHoklch(54.56% 0.232 314.8)
XYZxyz(26.1331, 13.6928, 57.1320)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02ECA #58CA2E
analogous
#522ECA #A02ECA #CA2EA6
triadic
#A02ECA #CAA02E #2ECAA0
tetradic
#A02ECA #CA522E #58CA2E #2EA6CA
square
#A02ECA #CA522E #58CA2E #2EA6CA
split-complementary
#A02ECA #A6CA2E #2ECA52
monochromatic
#511766 #792398 #A02ECA #B85BDA #CD8DE5

Accessibility & contrast

On white

5.62
#A02ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A02ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02ECA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02ECA#FFFFFF#000000##FFFFFF
##A02ECA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#9C527C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a02eca;
/* rgb */ color: rgb(160, 46, 202);
/* oklch */ color: oklch(54.6% 0.232 314.8);
Tailwind
colors: {
  custom: {
    50: '#c174db',
    500: '#a02eca',
    950: '#000000',
  },
}
SCSS
$custom: #a02eca;
$custom-light: #c174db;
$custom-dark: #000000;
JSON
{
  "hex": "#a02eca",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 283.846,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.23165,
    "h": 314.8
  },
  "luminance": 0.13692
}

Semantic roles & 50–950 ramp

primary
#A02ECA
secondary
#99CF84
accent
#E6426E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A02ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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