#A652D2#A652D2

#A652D2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.7% C 0.198 H 312.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A652D2
RGBrgb(166, 82, 210)
HSLhsl(279, 59%, 57%)
HSVhsv(279, 61%, 82%)
CMYKcmyk(21%, 61%, 0%, 17.6%)
CIE-LABlab(50.45, 55.43, -52.08)
CIE-LCHlch(50.45, 76.06, 316.78°)
OKLaboklab(59.66% 0.1327 -0.1464)
OKLCHoklch(59.66% 0.198 312.2)
XYZxyz(30.3740, 18.7955, 62.9881)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D2 #7ED252
analogous
#6652D2 #A652D2 #D252BE
triadic
#A652D2 #D2A652 #52D2A6
tetradic
#A652D2 #D26652 #7ED252 #52BED2
square
#A652D2 #D26652 #7ED252 #52BED2
split-complementary
#A652D2 #BED252 #52D266
monochromatic
#642387 #8930B7 #A652D2 #BF83DF #D8B3EB

Accessibility & contrast

On white

4.41
#A652D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A652D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D2#FFFFFF#000000##000000
##A652D21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2174D6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#A16A8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a652d2;
/* rgb */ color: rgb(166, 82, 210);
/* oklch */ color: oklch(59.7% 0.198 312.2);
Tailwind
colors: {
  custom: {
    50: '#c487e0',
    500: '#a652d2',
    950: '#000000',
  },
}
SCSS
$custom: #a652d2;
$custom-light: #c487e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d2",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 279.375,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.1976,
    "h": 312.2
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#A652D2
secondary
#B8DAA6
accent
#E2467C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652D2

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

Preview Lab → · Contrast checker → · Palette generator →

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