#A652D5#A652D5

#A652D5 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.201 H 311.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A652D5
RGBrgb(166, 82, 213)
HSLhsl(278, 61%, 58%)
HSVhsv(278, 62%, 84%)
CMYKcmyk(22.1%, 61.5%, 0%, 16.5%)
CIE-LABlab(50.62, 56.08, -53.51)
CIE-LCHlch(50.62, 77.51, 316.34°)
OKLaboklab(59.85% 0.1326 -0.1506)
OKLCHoklch(59.85% 0.201 311.4)
XYZxyz(30.7512, 18.9464, 64.9750)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D5 #81D552
analogous
#6452D5 #A652D5 #D552C3
triadic
#A652D5 #D5A652 #52D5A6
tetradic
#A652D5 #D56452 #81D552 #52C3D5
square
#A652D5 #D56452 #81D552 #52C3D5
split-complementary
#A652D5 #C3D552 #52D564
monochromatic
#65228B #892EBC #A652D5 #BF83E1 #D9B4ED

Accessibility & contrast

On white

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

On black

4.79
#A652D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D5#FFFFFF#000000##000000
##A652D51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A74D9
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#A06B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a652d5;
/* rgb */ color: rgb(166, 82, 213);
/* oklch */ color: oklch(59.8% 0.201 311.4);
Tailwind
colors: {
  custom: {
    50: '#c487e2',
    500: '#a652d5',
    950: '#000000',
  },
}
SCSS
$custom: #a652d5;
$custom-light: #c487e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d5",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 278.473,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.20069,
    "h": 311.4
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#A652D5
secondary
#BADCA7
accent
#E4447D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652D5

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

Preview Lab → · Contrast checker → · Palette generator →

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