#A652BF#A652BF

#A652BF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.5% C 0.178 H 317.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A652BF
RGBrgb(166, 82, 191)
HSLhsl(286, 46%, 54%)
HSVhsv(286, 57%, 75%)
CMYKcmyk(13.1%, 57.1%, 0%, 25.1%)
CIE-LABlab(49.38, 51.46, -42.86)
CIE-LCHlch(49.38, 66.97, 320.21°)
OKLaboklab(58.54% 0.1322 -0.1195)
OKLCHoklch(58.54% 0.178 317.9)
XYZxyz(28.1458, 17.9042, 51.2534)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652BF #6BBF52
analogous
#6F52BF #A652BF #BF52A1
triadic
#A652BF #BFA652 #52BFA6
tetradic
#A652BF #BF6F52 #6BBF52 #52A1BF
square
#A652BF #BF6F52 #6BBF52 #52A1BF
split-complementary
#A652BF #A1BF52 #52BF6F
monochromatic
#5E296E #84399B #A652BF #BD7FD0 #D4ABE0

Accessibility & contrast

On white

4.58
#A652BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A652BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652BF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652BF#FFFFFF#000000##000000
##A652BF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#A66381
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a652bf;
/* rgb */ color: rgb(166, 82, 191);
/* oklch */ color: oklch(58.5% 0.178 317.9);
Tailwind
colors: {
  custom: {
    50: '#c387d3',
    500: '#a652bf',
    950: '#000000',
  },
}
SCSS
$custom: #a652bf;
$custom-light: #c387d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a652bf",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 286.239,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.17819,
    "h": 317.9
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#A652BF
secondary
#AACE9F
accent
#D65270
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A652BF

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

Preview Lab → · Contrast checker → · Palette generator →

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