#A652F1#A652F1

#A652F1 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.7% C 0.230 H 304.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A652F1
RGBrgb(166, 82, 241)
HSLhsl(272, 85%, 63%)
HSVhsv(272, 66%, 95%)
CMYKcmyk(31.1%, 66%, 0%, 5.5%)
CIE-LABlab(52.39, 62.29, -66.48)
CIE-LCHlch(52.39, 91.10, 313.13°)
OKLaboklab(61.69% 0.1309 -0.1887)
OKLCHoklch(61.69% 0.23 304.8)
XYZxyz(34.6168, 20.4926, 85.3338)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652F1 #9DF152
analogous
#5652F1 #A652F1 #F152ED
triadic
#A652F1 #F1A652 #52F1A6
tetradic
#A652F1 #F15652 #9DF152 #52EDF1
square
#A652F1 #F15652 #9DF152 #52EDF1
split-complementary
#A652F1 #EDF152 #52F156
monochromatic
#690FBA #8919EC #A652F1 #C38BF6 #E0C3FA

Accessibility & contrast

On white

4.12
#A652F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A652F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652F1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652F1#FFFFFF#000000##000000
##A652F11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#1D7DEE
Tritanopia (blue-blind)
#98759B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a652f1;
/* rgb */ color: rgb(166, 82, 241);
/* oklch */ color: oklch(61.7% 0.230 304.8);
Tailwind
colors: {
  custom: {
    50: '#c588f7',
    500: '#a652f1',
    950: '#000000',
  },
}
SCSS
$custom: #a652f1;
$custom-light: #c588f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a652f1",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 271.698,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.22964,
    "h": 304.8
  },
  "luminance": 0.20492
}

Semantic roles & 50–950 ramp

primary
#A652F1
secondary
#CEECB3
accent
#E2046C
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A652F1

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

Preview Lab → · Contrast checker → · Palette generator →

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