#A652BA#A652BA

#A652BA is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.173 H 319.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A652BA
RGBrgb(166, 82, 186)
HSLhsl(288, 43%, 53%)
HSVhsv(288, 56%, 73%)
CMYKcmyk(10.8%, 55.9%, 0%, 27.1%)
CIE-LABlab(49.12, 50.45, -40.37)
CIE-LCHlch(49.12, 64.62, 321.33°)
OKLaboklab(58.26% 0.1319 -0.1123)
OKLCHoklch(58.26% 0.173 319.6)
XYZxyz(27.6050, 17.6879, 48.4049)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652BA #66BA52
analogous
#7252BA #A652BA #BA529A
triadic
#A652BA #BAA652 #52BAA6
tetradic
#A652BA #BA7252 #66BA52 #529ABA
square
#A652BA #BA7252 #66BA52 #529ABA
split-complementary
#A652BA #9ABA52 #52BA72
monochromatic
#5C2A68 #833B94 #A652BA #BD7ECB #D3AADD

Accessibility & contrast

On white

4.63
#A652BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A652BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A652BA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652BA#FFFFFF#000000##FFFFFF
##A652BA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#5978B7
Tritanopia (blue-blind)
#A7627E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a652ba;
/* rgb */ color: rgb(166, 82, 186);
/* oklch */ color: oklch(58.3% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#c386cf',
    500: '#a652ba',
    950: '#000000',
  },
}
SCSS
$custom: #a652ba;
$custom-light: #c386cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a652ba",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 288.462,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.17317,
    "h": 319.6
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#A652BA
secondary
#A6CA9D
accent
#D3556D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A652BA

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

Preview Lab → · Contrast checker → · Palette generator →

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