#A652E6#A652E6

#A652E6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.218 H 307.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A652E6
RGBrgb(166, 82, 230)
HSLhsl(274, 75%, 61%)
HSVhsv(274, 64%, 90%)
CMYKcmyk(27.8%, 64.3%, 0%, 9.8%)
CIE-LABlab(51.67, 59.81, -61.46)
CIE-LCHlch(51.67, 85.76, 314.22°)
OKLaboklab(60.94% 0.1319 -0.1739)
OKLCHoklch(60.94% 0.218 307.2)
XYZxyz(33.0231, 19.8551, 76.9403)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652E6 #92E652
analogous
#5C52E6 #A652E6 #E652DC
triadic
#A652E6 #E6A652 #52E6A6
tetradic
#A652E6 #E65C52 #92E652 #52DCE6
square
#A652E6 #E65C52 #92E652 #52DCE6
split-complementary
#A652E6 #DCE652 #52E65C
monochromatic
#6818A6 #8A20DB #A652E6 #C287EE #DDBDF5

Accessibility & contrast

On white

4.22
#A652E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A652E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652E6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652E6#FFFFFF#000000##000000
##A652E61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#9C7195
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a652e6;
/* rgb */ color: rgb(166, 82, 230);
/* oklch */ color: oklch(60.9% 0.218 307.2);
Tailwind
colors: {
  custom: {
    50: '#c588ef',
    500: '#a652e6',
    950: '#000000',
  },
}
SCSS
$custom: #a652e6;
$custom-light: #c588ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a652e6",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 274.054,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.21827,
    "h": 307.2
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#A652E6
secondary
#C6E6AE
accent
#D70F65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652E6

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

Preview Lab → · Contrast checker → · Palette generator →

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