#A652DE#A652DE

#A652DE is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.210 H 309.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A652DE
RGBrgb(166, 82, 222)
HSLhsl(276, 68%, 60%)
HSVhsv(276, 63%, 87%)
CMYKcmyk(25.2%, 63.1%, 0%, 12.9%)
CIE-LABlab(51.17, 58.04, -57.75)
CIE-LCHlch(51.17, 81.87, 315.14°)
OKLaboklab(60.42% 0.1324 -0.163)
OKLCHoklch(60.42% 0.21 309.1)
XYZxyz(31.9254, 19.4161, 71.1589)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652DE #8ADE52
analogous
#6052DE #A652DE #DE52D0
triadic
#A652DE #DEA652 #52DEA6
tetradic
#A652DE #DE6052 #8ADE52 #52D0DE
square
#A652DE #DE6052 #8ADE52 #52D0DE
split-complementary
#A652DE #D0DE52 #52DE60
monochromatic
#671D99 #8A27CC #A652DE #C085E8 #DBB9F2

Accessibility & contrast

On white

4.30
#A652DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A652DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652DE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652DE#FFFFFF#000000##000000
##A652DE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#3D7BDB
Tritanopia (blue-blind)
#9E6E91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a652de;
/* rgb */ color: rgb(166, 82, 222);
/* oklch */ color: oklch(60.4% 0.210 309.1);
Tailwind
colors: {
  custom: {
    50: '#c487e9',
    500: '#a652de',
    950: '#000000',
  },
}
SCSS
$custom: #a652de;
$custom-light: #c487e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a652de",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 276,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.21,
    "h": 309.1
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#A652DE
secondary
#C0E1AB
accent
#EB3D83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652DE

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

Preview Lab → · Contrast checker → · Palette generator →

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