#A652D9#A652D9

#A652D9 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.205 H 310.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A652D9
RGBrgb(166, 82, 217)
HSLhsl(277, 64%, 59%)
HSVhsv(277, 62%, 85%)
CMYKcmyk(23.5%, 62.2%, 0%, 14.9%)
CIE-LABlab(50.86, 56.94, -55.40)
CIE-LCHlch(50.86, 79.45, 315.79°)
OKLaboklab(60.1% 0.1325 -0.1561)
OKLCHoklch(60.1% 0.205 310.3)
XYZxyz(31.2652, 19.1520, 67.6819)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D9 #85D952
analogous
#6252D9 #A652D9 #D952C9
triadic
#A652D9 #D9A652 #52D9A6
tetradic
#A652D9 #D96252 #85D952 #52C9D9
square
#A652D9 #D96252 #85D952 #52C9D9
split-complementary
#A652D9 #C9D952 #52D962
monochromatic
#662091 #892BC3 #A652D9 #C084E4 #DAB6EF

Accessibility & contrast

On white

4.35
#A652D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A652D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D9#FFFFFF#000000##000000
##A652D91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DD
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#9F6C8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a652d9;
/* rgb */ color: rgb(166, 82, 217);
/* oklch */ color: oklch(60.1% 0.205 310.3);
Tailwind
colors: {
  custom: {
    50: '#c487e5',
    500: '#a652d9',
    950: '#000000',
  },
}
SCSS
$custom: #a652d9;
$custom-light: #c487e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d9",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 277.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.601,
    "c": 0.20482,
    "h": 310.3
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

primary
#A652D9
secondary
#BDDEA9
accent
#E74180
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652D9

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

Preview Lab → · Contrast checker → · Palette generator →

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