#A652D4#A652D4

#A652D4 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.8% C 0.200 H 311.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A652D4
RGBrgb(166, 82, 212)
HSLhsl(279, 60%, 58%)
HSVhsv(279, 61%, 83%)
CMYKcmyk(21.7%, 61.3%, 0%, 16.9%)
CIE-LABlab(50.57, 55.86, -53.04)
CIE-LCHlch(50.57, 77.03, 316.49°)
OKLaboklab(59.79% 0.1327 -0.1492)
OKLCHoklch(59.79% 0.2 311.6)
XYZxyz(30.6247, 18.8958, 64.3086)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D4 #80D452
analogous
#6552D4 #A652D4 #D452C1
triadic
#A652D4 #D4A652 #52D4A6
tetradic
#A652D4 #D46552 #80D452 #52C1D4
square
#A652D4 #D46552 #80D452 #52C1D4
split-complementary
#A652D4 #C1D452 #52D465
monochromatic
#652289 #892EBA #A652D4 #BF83E0 #D8B4EC

Accessibility & contrast

On white

4.39
#A652D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A652D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D4#FFFFFF#000000##000000
##A652D41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D8
Deuteranopia (green-blind)
#477AD1
Tritanopia (blue-blind)
#A16B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a652d4;
/* rgb */ color: rgb(166, 82, 212);
/* oklch */ color: oklch(59.8% 0.200 311.6);
Tailwind
colors: {
  custom: {
    50: '#c487e2',
    500: '#a652d4',
    950: '#000000',
  },
}
SCSS
$custom: #a652d4;
$custom-light: #c487e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d4",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 278.769,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.19966,
    "h": 311.6
  },
  "luminance": 0.18895
}

Semantic roles & 50–950 ramp

primary
#A652D4
secondary
#B9DBA7
accent
#E3447D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652D4

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

Preview Lab → · Contrast checker → · Palette generator →

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