#A652F3#A652F3

#A652F3 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.232 H 304.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A652F3
RGBrgb(166, 82, 243)
HSLhsl(271, 87%, 64%)
HSVhsv(271, 66%, 95%)
CMYKcmyk(31.7%, 66.3%, 0%, 4.7%)
CIE-LABlab(52.52, 62.74, -67.38)
CIE-LCHlch(52.52, 92.07, 312.96°)
OKLaboklab(61.82% 0.1307 -0.1913)
OKLCHoklch(61.82% 0.232 304.3)
XYZxyz(34.9172, 20.6128, 86.9158)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652F3 #9FF352
analogous
#5552F3 #A652F3 #F352F0
triadic
#A652F3 #F3A652 #52F3A6
tetradic
#A652F3 #F35552 #9FF352 #52F0F3
square
#A652F3 #F35552 #9FF352 #52F0F3
split-complementary
#A652F3 #F0F352 #52F355
monochromatic
#690DBD #8919EF #A652F3 #C38BF7 #E1C4FB

Accessibility & contrast

On white

4.10
#A652F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A652F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652F3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652F3#FFFFFF#000000##000000
##A652F31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#177DF0
Tritanopia (blue-blind)
#98769C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a652f3;
/* rgb */ color: rgb(166, 82, 243);
/* oklch */ color: oklch(61.8% 0.232 304.3);
Tailwind
colors: {
  custom: {
    50: '#c688f8',
    500: '#a652f3',
    950: '#000000',
  },
}
SCSS
$custom: #a652f3;
$custom-light: #c688f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a652f3",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 271.304,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.23171,
    "h": 304.3
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#A652F3
secondary
#CFEDB4
accent
#E4026E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A652F3

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

Preview Lab → · Contrast checker → · Palette generator →

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