#A652CE#A652CE

#A652CE is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.193 H 313.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A652CE
RGBrgb(166, 82, 206)
HSLhsl(281, 56%, 56%)
HSVhsv(281, 60%, 81%)
CMYKcmyk(19.4%, 60.2%, 0%, 19.2%)
CIE-LABlab(50.21, 54.58, -50.17)
CIE-LCHlch(50.21, 74.13, 317.41°)
OKLaboklab(59.42% 0.1327 -0.1408)
OKLCHoklch(59.42% 0.193 313.3)
XYZxyz(29.8818, 18.5986, 60.3963)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652CE #7ACE52
analogous
#6852CE #A652CE #CE52B8
triadic
#A652CE #CEA652 #52CEA6
tetradic
#A652CE #CE6852 #7ACE52 #52B8CE
square
#A652CE #CE6852 #7ACE52 #52B8CE
split-complementary
#A652CE #B8CE52 #52CE68
monochromatic
#632581 #8832B1 #A652CE #BF82DC #D7B1E9

Accessibility & contrast

On white

4.45
#A652CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A652CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652CE#FFFFFF#000000##000000
##A652CE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#4C79CB
Tritanopia (blue-blind)
#A26888
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a652ce;
/* rgb */ color: rgb(166, 82, 206);
/* oklch */ color: oklch(59.4% 0.193 313.3);
Tailwind
colors: {
  custom: {
    50: '#c487dd',
    500: '#a652ce',
    950: '#000000',
  },
}
SCSS
$custom: #a652ce;
$custom-light: #c487dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a652ce",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 280.645,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.19349,
    "h": 313.3
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#A652CE
secondary
#B5D7A4
accent
#DF4979
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652CE

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

Preview Lab → · Contrast checker → · Palette generator →

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