#A652E7#A652E7

#A652E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.219 H 306.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A652E7
RGBrgb(166, 82, 231)
HSLhsl(274, 76%, 61%)
HSVhsv(274, 65%, 91%)
CMYKcmyk(28.1%, 64.5%, 0%, 9.4%)
CIE-LABlab(51.74, 60.03, -61.92)
CIE-LCHlch(51.74, 86.25, 314.11°)
OKLaboklab(61.01% 0.1318 -0.1753)
OKLCHoklch(61.01% 0.219 306.9)
XYZxyz(33.1639, 19.9115, 77.6820)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652E7 #93E752
analogous
#5C52E7 #A652E7 #E752DD
triadic
#A652E7 #E7A652 #52E7A6
tetradic
#A652E7 #E75C52 #93E752 #52DDE7
square
#A652E7 #E75C52 #93E752 #52DDE7
split-complementary
#A652E7 #DDE752 #52E75C
monochromatic
#6817A7 #8A1FDD #A652E7 #C288EE #DDBDF6

Accessibility & contrast

On white

4.22
#A652E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A652E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652E7#FFFFFF#000000##000000
##A652E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#317CE4
Tritanopia (blue-blind)
#9B7196
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a652e7;
/* rgb */ color: rgb(166, 82, 231);
/* oklch */ color: oklch(61.0% 0.219 306.9);
Tailwind
colors: {
  custom: {
    50: '#c588ef',
    500: '#a652e7',
    950: '#000000',
  },
}
SCSS
$custom: #a652e7;
$custom-light: #c588ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a652e7",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 273.826,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.21931,
    "h": 306.9
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#A652E7
secondary
#C7E6AF
accent
#D80E66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A652E7

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

Preview Lab → · Contrast checker → · Palette generator →

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