#A652EE#A652EE

#A652EE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.227 H 305.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A652EE
RGBrgb(166, 82, 238)
HSLhsl(272, 82%, 63%)
HSVhsv(272, 66%, 93%)
CMYKcmyk(30.3%, 65.5%, 0%, 6.7%)
CIE-LABlab(52.19, 61.61, -65.12)
CIE-LCHlch(52.19, 89.65, 313.41°)
OKLaboklab(61.48% 0.1312 -0.1847)
OKLCHoklch(61.48% 0.227 305.4)
XYZxyz(34.1724, 20.3149, 82.9932)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652EE #9AEE52
analogous
#5852EE #A652EE #EE52E8
triadic
#A652EE #EEA652 #52EEA6
tetradic
#A652EE #EE5852 #9AEE52 #52E8EE
square
#A652EE #EE5852 #9AEE52 #52E8EE
split-complementary
#A652EE #E8EE52 #52EE58
monochromatic
#6912B4 #891AE9 #A652EE #C38AF3 #DFC1F9

Accessibility & contrast

On white

4.15
#A652EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A652EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652EE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652EE#FFFFFF#000000##000000
##A652EE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#997499
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a652ee;
/* rgb */ color: rgb(166, 82, 238);
/* oklch */ color: oklch(61.5% 0.227 305.4);
Tailwind
colors: {
  custom: {
    50: '#c588f4',
    500: '#a652ee',
    950: '#000000',
  },
}
SCSS
$custom: #a652ee;
$custom-light: #c588f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a652ee",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 272.308,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6148,
    "c": 0.22655,
    "h": 305.4
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#A652EE
secondary
#CCEAB2
accent
#DE076A
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A652EE

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

Preview Lab → · Contrast checker → · Palette generator →

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