#A652DF#A652DF

#A652DF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.211 H 308.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A652DF
RGBrgb(166, 82, 223)
HSLhsl(276, 69%, 60%)
HSVhsv(276, 63%, 87%)
CMYKcmyk(25.6%, 63.2%, 0%, 12.5%)
CIE-LABlab(51.23, 58.26, -58.22)
CIE-LCHlch(51.23, 82.36, 315.02°)
OKLaboklab(60.48% 0.1323 -0.1644)
OKLCHoklch(60.48% 0.211 308.8)
XYZxyz(32.0598, 19.4698, 71.8669)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652DF #8BDF52
analogous
#6052DF #A652DF #DF52D1
triadic
#A652DF #DFA652 #52DFA6
tetradic
#A652DF #DF6052 #8BDF52 #52D1DF
square
#A652DF #DF6052 #8BDF52 #52D1DF
split-complementary
#A652DF #D1DF52 #52DF60
monochromatic
#671D9A #8A26CE #A652DF #C186E9 #DBB9F2

Accessibility & contrast

On white

4.29
#A652DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A652DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652DF#FFFFFF#000000##000000
##A652DF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#9E6F91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a652df;
/* rgb */ color: rgb(166, 82, 223);
/* oklch */ color: oklch(60.5% 0.211 308.8);
Tailwind
colors: {
  custom: {
    50: '#c487ea',
    500: '#a652df',
    950: '#000000',
  },
}
SCSS
$custom: #a652df;
$custom-light: #c487ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a652df",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 275.745,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.21103,
    "h": 308.8
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#A652DF
secondary
#C1E2AB
accent
#EC3C83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652DF

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

Preview Lab → · Contrast checker → · Palette generator →

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