#A652E5#A652E5

#A652E5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.217 H 307.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A652E5
RGBrgb(166, 82, 229)
HSLhsl(274, 74%, 61%)
HSVhsv(274, 64%, 90%)
CMYKcmyk(27.5%, 64.2%, 0%, 10.2%)
CIE-LABlab(51.61, 59.59, -61.00)
CIE-LCHlch(51.61, 85.27, 314.33°)
OKLaboklab(60.88% 0.1319 -0.1726)
OKLCHoklch(60.88% 0.217 307.4)
XYZxyz(32.8831, 19.7991, 76.2029)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652E5 #91E552
analogous
#5C52E5 #A652E5 #E552DA
triadic
#A652E5 #E5A652 #52E5A6
tetradic
#A652E5 #E55C52 #91E552 #52DAE5
square
#A652E5 #E55C52 #91E552 #52DAE5
split-complementary
#A652E5 #DAE552 #52E55C
monochromatic
#6819A4 #8A21D9 #A652E5 #C187ED #DDBCF5

Accessibility & contrast

On white

4.23
#A652E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A652E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652E5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652E5#FFFFFF#000000##000000
##A652E51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#9C7194
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a652e5;
/* rgb */ color: rgb(166, 82, 229);
/* oklch */ color: oklch(60.9% 0.217 307.4);
Tailwind
colors: {
  custom: {
    50: '#c588ee',
    500: '#a652e5',
    950: '#000000',
  },
}
SCSS
$custom: #a652e5;
$custom-light: #c588ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a652e5",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 274.286,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.21724,
    "h": 307.4
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#A652E5
secondary
#C5E5AE
accent
#D61065
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652E5

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

Preview Lab → · Contrast checker → · Palette generator →

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