#A252D6#A252D6

#A252D6 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.200 H 309.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A252D6
RGBrgb(162, 82, 214)
HSLhsl(276, 62%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(24.3%, 61.7%, 0%, 16.1%)
CIE-LABlab(50.18, 55.36, -54.82)
CIE-LCHlch(50.18, 77.91, 315.28°)
OKLaboklab(59.44% 0.1276 -0.1546)
OKLCHoklch(59.44% 0.2 309.5)
XYZxyz(30.0528, 18.5716, 65.6068)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252D6 #86D652
analogous
#6052D6 #A252D6 #D652C8
triadic
#A252D6 #D6A252 #52D6A2
tetradic
#A252D6 #D66052 #86D652 #52C8D6
square
#A252D6 #D66052 #86D652 #52C8D6
split-complementary
#A252D6 #C8D652 #52D660
monochromatic
#62218C #852DBE #A252D6 #BD83E2 #D7B5ED

Accessibility & contrast

On white

4.45
#A252D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A252D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252D6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252D6#FFFFFF#000000##000000
##A252D61.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1274DA
Deuteranopia (green-blind)
#4079D3
Tritanopia (blue-blind)
#9B6C8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a252d6;
/* rgb */ color: rgb(162, 82, 214);
/* oklch */ color: oklch(59.4% 0.200 309.5);
Tailwind
colors: {
  custom: {
    50: '#c187e3',
    500: '#a252d6',
    950: '#000000',
  },
}
SCSS
$custom: #a252d6;
$custom-light: #c187e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a252d6",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 276.364,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.20042,
    "h": 309.5
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#A252D6
secondary
#BCDCA8
accent
#E54383
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A252D6

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

Preview Lab → · Contrast checker → · Palette generator →

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