#A652D7#A652D7

#A652D7 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.203 H 310.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A652D7
RGBrgb(166, 82, 215)
HSLhsl(278, 62%, 58%)
HSVhsv(278, 62%, 84%)
CMYKcmyk(22.8%, 61.9%, 0%, 15.7%)
CIE-LABlab(50.74, 56.51, -54.46)
CIE-LCHlch(50.74, 78.48, 316.06°)
OKLaboklab(59.97% 0.1326 -0.1534)
OKLCHoklch(59.97% 0.203 310.8)
XYZxyz(31.0066, 19.0486, 66.3201)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652D7 #83D752
analogous
#6352D7 #A652D7 #D752C5
triadic
#A652D7 #D7A652 #52D7A6
tetradic
#A652D7 #D76352 #83D752 #52C5D7
square
#A652D7 #D76352 #83D752 #52C5D7
split-complementary
#A652D7 #C5D752 #52D763
monochromatic
#66218E #892CC0 #A652D7 #C084E2 #D9B5EE

Accessibility & contrast

On white

4.37
#A652D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A652D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652D7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652D7#FFFFFF#000000##000000
##A652D71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1575DB
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#A06C8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a652d7;
/* rgb */ color: rgb(166, 82, 215);
/* oklch */ color: oklch(60.0% 0.203 310.8);
Tailwind
colors: {
  custom: {
    50: '#c487e4',
    500: '#a652d7',
    950: '#000000',
  },
}
SCSS
$custom: #a652d7;
$custom-light: #c487e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a652d7",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 277.895,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.20276,
    "h": 310.8
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#A652D7
secondary
#BBDDA8
accent
#E6427E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A652D7

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

Preview Lab → · Contrast checker → · Palette generator →

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