#A252F3#A252F3

#A252F3 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.231 H 302.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A252F3
RGBrgb(162, 82, 243)
HSLhsl(270, 87%, 64%)
HSVhsv(270, 66%, 95%)
CMYKcmyk(33.3%, 66.3%, 0%, 4.7%)
CIE-LABlab(52.05, 61.94, -68.18)
CIE-LCHlch(52.05, 92.11, 312.26°)
OKLaboklab(61.38% 0.1255 -0.1938)
OKLCHoklch(61.38% 0.231 302.9)
XYZxyz(34.0915, 20.1870, 86.8771)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252F3 #A3F352
analogous
#5252F3 #A252F3 #F352F3
triadic
#A252F3 #F3A252 #52F3A2
tetradic
#A252F3 #F35252 #A3F352 #52F3F3
square
#A252F3 #F35252 #A3F352 #52F3F3
split-complementary
#A252F3 #F3F352 #52F352
monochromatic
#650DBD #8319EF #A252F3 #C18BF7 #E0C4FB

Accessibility & contrast

On white

4.17
#A252F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A252F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252F3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252F3#FFFFFF#000000##000000
##A252F31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#037CF0
Tritanopia (blue-blind)
#92769C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a252f3;
/* rgb */ color: rgb(162, 82, 243);
/* oklch */ color: oklch(61.4% 0.231 302.9);
Tailwind
colors: {
  custom: {
    50: '#c388f8',
    500: '#a252f3',
    950: '#000000',
  },
}
SCSS
$custom: #a252f3;
$custom-light: #c388f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a252f3",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 269.814,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.23087,
    "h": 302.9
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#A252F3
secondary
#D1EDB4
accent
#E40273
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A252F3

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

Preview Lab → · Contrast checker → · Palette generator →

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