#A652DB#A652DB

#A652DB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.207 H 309.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A652DB
RGBrgb(166, 82, 219)
HSLhsl(277, 66%, 59%)
HSVhsv(277, 63%, 86%)
CMYKcmyk(24.2%, 62.6%, 0%, 14.1%)
CIE-LABlab(50.99, 57.38, -56.34)
CIE-LCHlch(50.99, 80.42, 315.52°)
OKLaboklab(60.23% 0.1325 -0.1589)
OKLCHoklch(60.23% 0.207 309.8)
XYZxyz(31.5269, 19.2567, 69.0602)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652DB #87DB52
analogous
#6252DB #A652DB #DB52CC
triadic
#A652DB #DBA652 #52DBA6
tetradic
#A652DB #DB6252 #87DB52 #52CCDB
square
#A652DB #DB6252 #87DB52 #52CCDB
split-complementary
#A652DB #CCDB52 #52DB62
monochromatic
#671F94 #8A29C6 #A652DB #C085E6 #DAB7F0

Accessibility & contrast

On white

4.33
#A652DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A652DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652DB#FFFFFF#000000##000000
##A652DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#9F6D8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a652db;
/* rgb */ color: rgb(166, 82, 219);
/* oklch */ color: oklch(60.2% 0.207 309.8);
Tailwind
colors: {
  custom: {
    50: '#c487e7',
    500: '#a652db',
    950: '#000000',
  },
}
SCSS
$custom: #a652db;
$custom-light: #c487e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a652db",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 276.788,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.20689,
    "h": 309.8
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#A652DB
secondary
#BEDFAA
accent
#E93F81
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652DB

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

Preview Lab → · Contrast checker → · Palette generator →

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