#A652D6#A652D6

#A652D6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.202 H 311.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A652D6
RGBrgb(166, 82, 214)
HSLhsl(278, 62%, 58%)
HSVhsv(278, 62%, 84%)
CMYKcmyk(22.4%, 61.7%, 0%, 16.1%)
CIE-LABlab(50.68, 56.29, -53.99)
CIE-LCHlch(50.68, 78.00, 316.20°)
OKLaboklab(59.91% 0.1326 -0.152)
OKLCHoklch(59.91% 0.202 311.1)
XYZxyz(30.8785, 18.9973, 65.6455)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D6 #82D652
analogous
#6452D6 #A652D6 #D652C4
triadic
#A652D6 #D6A652 #52D6A6
tetradic
#A652D6 #D66452 #82D652 #52C4D6
square
#A652D6 #D66452 #82D652 #52C4D6
split-complementary
#A652D6 #C4D652 #52D664
monochromatic
#65218C #892DBE #A652D6 #BF83E2 #D9B5ED

Accessibility & contrast

On white

4.38
#A652D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A652D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D6#FFFFFF#000000##000000
##A652D61.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1875DA
Deuteranopia (green-blind)
#457AD3
Tritanopia (blue-blind)
#A06B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a652d6;
/* rgb */ color: rgb(166, 82, 214);
/* oklch */ color: oklch(59.9% 0.202 311.1);
Tailwind
colors: {
  custom: {
    50: '#c487e3',
    500: '#a652d6',
    950: '#000000',
  },
}
SCSS
$custom: #a652d6;
$custom-light: #c487e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d6",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 278.182,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59912,
    "c": 0.20172,
    "h": 311.1
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#A652D6
secondary
#BBDCA8
accent
#E5437E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A652D6

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

Preview Lab → · Contrast checker → · Palette generator →

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