#A652EA#A652EA

#A652EA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.222 H 306.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A652EA
RGBrgb(166, 82, 234)
HSLhsl(273, 78%, 62%)
HSVhsv(273, 65%, 92%)
CMYKcmyk(29.1%, 65%, 0%, 8.2%)
CIE-LABlab(51.93, 60.71, -63.30)
CIE-LCHlch(51.93, 87.70, 313.80°)
OKLaboklab(61.21% 0.1316 -0.1793)
OKLCHoklch(61.21% 0.222 306.3)
XYZxyz(33.5913, 20.0824, 79.9326)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652EA #96EA52
analogous
#5A52EA #A652EA #EA52E2
triadic
#A652EA #EAA652 #52EAA6
tetradic
#A652EA #EA5A52 #96EA52 #52E2EA
square
#A652EA #EA5A52 #96EA52 #52E2EA
split-complementary
#A652EA #E2EA52 #52EA5A
monochromatic
#6915AD #8A1CE3 #A652EA #C289F1 #DEBFF7

Accessibility & contrast

On white

4.19
#A652EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A652EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652EA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652EA#FFFFFF#000000##000000
##A652EA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#2C7CE7
Tritanopia (blue-blind)
#9A7397
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a652ea;
/* rgb */ color: rgb(166, 82, 234);
/* oklch */ color: oklch(61.2% 0.222 306.3);
Tailwind
colors: {
  custom: {
    50: '#c588f2',
    500: '#a652ea',
    950: '#000000',
  },
}
SCSS
$custom: #a652ea;
$custom-light: #c588f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a652ea",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 273.158,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.22241,
    "h": 306.3
  },
  "luminance": 0.20082
}

Semantic roles & 50–950 ramp

primary
#A652EA
secondary
#C9E8B0
accent
#DB0B68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A652EA

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

Preview Lab → · Contrast checker → · Palette generator →

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