#A252E9#A252E9

#A252E9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.220 H 305.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A252E9
RGBrgb(162, 82, 233)
HSLhsl(272, 77%, 62%)
HSVhsv(272, 65%, 91%)
CMYKcmyk(30.5%, 64.8%, 0%, 8.6%)
CIE-LABlab(51.38, 59.64, -63.65)
CIE-LCHlch(51.38, 87.22, 313.14°)
OKLaboklab(60.69% 0.1265 -0.1805)
OKLCHoklch(60.69% 0.22 305)
XYZxyz(32.6223, 19.5994, 79.1394)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252E9 #99E952
analogous
#5752E9 #A252E9 #E952E5
triadic
#A252E9 #E9A252 #52E9A2
tetradic
#A252E9 #E95752 #99E952 #52E5E9
square
#A252E9 #E95752 #99E952 #52E5E9
split-complementary
#A252E9 #E5E952 #52E957
monochromatic
#6516AB #851DE1 #A252E9 #BF88F0 #DCBFF7

Accessibility & contrast

On white

4.27
#A252E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A252E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252E9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252E9#FFFFFF#000000##000000
##A252E91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#267BE6
Tritanopia (blue-blind)
#957397
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a252e9;
/* rgb */ color: rgb(162, 82, 233);
/* oklch */ color: oklch(60.7% 0.220 305.0);
Tailwind
colors: {
  custom: {
    50: '#c287f1',
    500: '#a252e9',
    950: '#000000',
  },
}
SCSS
$custom: #a252e9;
$custom-light: #c287f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a252e9",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 271.788,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.22039,
    "h": 305
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#A252E9
secondary
#CAE7AF
accent
#DA0C6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A252E9

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

Preview Lab → · Contrast checker → · Palette generator →

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