#A652E2#A652E2

#A652E2 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.214 H 308.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A652E2
RGBrgb(166, 82, 226)
HSLhsl(275, 71%, 60%)
HSVhsv(275, 64%, 89%)
CMYKcmyk(26.5%, 63.7%, 0%, 11.4%)
CIE-LABlab(51.42, 58.92, -59.61)
CIE-LCHlch(51.42, 83.82, 314.67°)
OKLaboklab(60.68% 0.1321 -0.1685)
OKLCHoklch(60.68% 0.214 308.1)
XYZxyz(32.4678, 19.6330, 74.0159)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652E2 #8EE252
analogous
#5E52E2 #A652E2 #E252D6
triadic
#A652E2 #E2A652 #52E2A6
tetradic
#A652E2 #E25E52 #8EE252 #52D6E2
square
#A652E2 #E25E52 #8EE252 #52D6E2
split-complementary
#A652E2 #D6E252 #52E25E
monochromatic
#681B9F #8A23D3 #A652E2 #C186EB #DCBBF4

Accessibility & contrast

On white

4.26
#A652E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A652E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652E2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652E2#FFFFFF#000000##000000
##A652E21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#387BDF
Tritanopia (blue-blind)
#9D7093
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a652e2;
/* rgb */ color: rgb(166, 82, 226);
/* oklch */ color: oklch(60.7% 0.214 308.1);
Tailwind
colors: {
  custom: {
    50: '#c587ec',
    500: '#a652e2',
    950: '#000000',
  },
}
SCSS
$custom: #a652e2;
$custom-light: #c587ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a652e2",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 275,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.21413,
    "h": 308.1
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#A652E2
secondary
#C3E3AC
accent
#D31263
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652E2

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

Preview Lab → · Contrast checker → · Palette generator →

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