#A652D8#A652D8

#A652D8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.204 H 310.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A652D8
RGBrgb(166, 82, 216)
HSLhsl(278, 63%, 58%)
HSVhsv(278, 62%, 85%)
CMYKcmyk(23.1%, 62%, 0%, 15.3%)
CIE-LABlab(50.80, 56.73, -54.93)
CIE-LCHlch(50.80, 78.96, 315.92°)
OKLaboklab(60.04% 0.1326 -0.1548)
OKLCHoklch(60.04% 0.204 310.6)
XYZxyz(31.1355, 19.1001, 66.9989)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D8 #84D852
analogous
#6352D8 #A652D8 #D852C7
triadic
#A652D8 #D8A652 #52D8A6
tetradic
#A652D8 #D86352 #84D852 #52C7D8
square
#A652D8 #D86352 #84D852 #52C7D8
split-complementary
#A652D8 #C7D852 #52D863
monochromatic
#66208F #892CC1 #A652D8 #C084E3 #D9B6EF

Accessibility & contrast

On white

4.36
#A652D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A652D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D8#FFFFFF#000000##000000
##A652D81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1275DC
Deuteranopia (green-blind)
#437AD5
Tritanopia (blue-blind)
#A06C8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a652d8;
/* rgb */ color: rgb(166, 82, 216);
/* oklch */ color: oklch(60.0% 0.204 310.6);
Tailwind
colors: {
  custom: {
    50: '#c487e5',
    500: '#a652d8',
    950: '#000000',
  },
}
SCSS
$custom: #a652d8;
$custom-light: #c487e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d8",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 277.612,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.20379,
    "h": 310.6
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#A652D8
secondary
#BCDDA8
accent
#E6427F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652D8

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

Preview Lab → · Contrast checker → · Palette generator →

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