#A652D3#A652D3

#A652D3 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.7% C 0.199 H 311.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A652D3
RGBrgb(166, 82, 211)
HSLhsl(279, 59%, 57%)
HSVhsv(279, 61%, 83%)
CMYKcmyk(21.3%, 61.1%, 0%, 17.3%)
CIE-LABlab(50.51, 55.65, -52.56)
CIE-LCHlch(50.51, 76.54, 316.63°)
OKLaboklab(59.72% 0.1327 -0.1478)
OKLCHoklch(59.72% 0.199 311.9)
XYZxyz(30.4989, 18.8455, 63.6463)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D3 #7FD352
analogous
#6652D3 #A652D3 #D352BF
triadic
#A652D3 #D3A652 #52D3A6
tetradic
#A652D3 #D36652 #7FD352 #52BFD3
square
#A652D3 #D36652 #7FD352 #52BFD3
split-complementary
#A652D3 #BFD352 #52D366
monochromatic
#652388 #892FB9 #A652D3 #BF83DF #D8B4EC

Accessibility & contrast

On white

4.40
#A652D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A652D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D3#FFFFFF#000000##000000
##A652D31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D7
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#A16A8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a652d3;
/* rgb */ color: rgb(166, 82, 211);
/* oklch */ color: oklch(59.7% 0.199 311.9);
Tailwind
colors: {
  custom: {
    50: '#c487e1',
    500: '#a652d3',
    950: '#000000',
  },
}
SCSS
$custom: #a652d3;
$custom-light: #c487e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d3",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 279.07,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.19863,
    "h": 311.9
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#A652D3
secondary
#B9DAA6
accent
#E3457C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652D3

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

Preview Lab → · Contrast checker → · Palette generator →

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