#A252DE#A252DE

#A252DE is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.209 H 307.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A252DE
RGBrgb(162, 82, 222)
HSLhsl(274, 68%, 60%)
HSVhsv(274, 63%, 87%)
CMYKcmyk(27%, 63.1%, 0%, 12.9%)
CIE-LABlab(50.68, 57.15, -58.57)
CIE-LCHlch(50.68, 81.83, 314.29°)
OKLaboklab(59.96% 0.1273 -0.1656)
OKLCHoklch(59.96% 0.209 307.5)
XYZxyz(31.0997, 18.9903, 71.1202)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252DE #8EDE52
analogous
#5C52DE #A252DE #DE52D4
triadic
#A252DE #DEA252 #52DEA2
tetradic
#A252DE #DE5C52 #8EDE52 #52D4DE
square
#A252DE #DE5C52 #8EDE52 #52D4DE
split-complementary
#A252DE #D4DE52 #52DE5C
monochromatic
#641D99 #8527CC #A252DE #BE85E8 #D9B9F2

Accessibility & contrast

On white

4.38
#A252DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A252DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252DE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252DE#FFFFFF#000000##000000
##A252DE1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#3779DB
Tritanopia (blue-blind)
#996F91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a252de;
/* rgb */ color: rgb(162, 82, 222);
/* oklch */ color: oklch(60.0% 0.209 307.5);
Tailwind
colors: {
  custom: {
    50: '#c287e9',
    500: '#a252de',
    950: '#000000',
  },
}
SCSS
$custom: #a252de;
$custom-light: #c287e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a252de",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 274.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.20883,
    "h": 307.5
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#A252DE
secondary
#C2E1AB
accent
#EB3D87
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A252DE

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

Preview Lab → · Contrast checker → · Palette generator →

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