#A252E6#A252E6

#A252E6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.217 H 305.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A252E6
RGBrgb(162, 82, 230)
HSLhsl(272, 75%, 61%)
HSVhsv(272, 64%, 90%)
CMYKcmyk(29.6%, 64.3%, 0%, 9.8%)
CIE-LABlab(51.19, 58.96, -62.27)
CIE-LCHlch(51.19, 85.75, 313.43°)
OKLaboklab(60.49% 0.1267 -0.1764)
OKLCHoklch(60.49% 0.217 305.7)
XYZxyz(32.1974, 19.4294, 76.9016)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252E6 #96E652
analogous
#5852E6 #A252E6 #E652E0
triadic
#A252E6 #E6A252 #52E6A2
tetradic
#A252E6 #E65852 #96E652 #52E0E6
square
#A252E6 #E65852 #96E652 #52E0E6
split-complementary
#A252E6 #E0E652 #52E658
monochromatic
#6518A6 #8520DB #A252E6 #BF87EE #DBBDF5

Accessibility & contrast

On white

4.30
#A252E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A252E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252E6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252E6#FFFFFF#000000##000000
##A252E61.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#967295
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a252e6;
/* rgb */ color: rgb(162, 82, 230);
/* oklch */ color: oklch(60.5% 0.217 305.7);
Tailwind
colors: {
  custom: {
    50: '#c287ef',
    500: '#a252e6',
    950: '#000000',
  },
}
SCSS
$custom: #a252e6;
$custom-light: #c287ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a252e6",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 272.432,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.21724,
    "h": 305.7
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#A252E6
secondary
#C8E6AE
accent
#D70F6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A252E6

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

Preview Lab → · Contrast checker → · Palette generator →

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