#A652E3#A652E3

#A652E3 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.215 H 307.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A652E3
RGBrgb(166, 82, 227)
HSLhsl(275, 72%, 61%)
HSVhsv(275, 64%, 89%)
CMYKcmyk(26.9%, 63.9%, 0%, 11%)
CIE-LABlab(51.48, 59.14, -60.08)
CIE-LCHlch(51.48, 84.30, 314.55°)
OKLaboklab(60.75% 0.1321 -0.1699)
OKLCHoklch(60.75% 0.215 307.9)
XYZxyz(32.6055, 19.6881, 74.7407)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652E3 #8FE352
analogous
#5E52E3 #A652E3 #E352D7
triadic
#A652E3 #E3A652 #52E3A6
tetradic
#A652E3 #E35E52 #8FE352 #52D7E3
square
#A652E3 #E35E52 #8FE352 #52D7E3
split-complementary
#A652E3 #D7E352 #52E35E
monochromatic
#681AA1 #8A23D5 #A652E3 #C187EC #DCBBF4

Accessibility & contrast

On white

4.25
#A652E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A652E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652E3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652E3#FFFFFF#000000##000000
##A652E31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#9D7093
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a652e3;
/* rgb */ color: rgb(166, 82, 227);
/* oklch */ color: oklch(60.7% 0.215 307.9);
Tailwind
colors: {
  custom: {
    50: '#c588ed',
    500: '#a652e3',
    950: '#000000',
  },
}
SCSS
$custom: #a652e3;
$custom-light: #c588ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a652e3",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 274.759,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.21517,
    "h": 307.9
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#A652E3
secondary
#C4E4AD
accent
#D41163
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652E3

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

Preview Lab → · Contrast checker → · Palette generator →

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