#A252FF#A252FF

#A252FF is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.2% C 0.243 H 300.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A252FF
RGBrgb(162, 82, 255)
HSLhsl(268, 100%, 66%)
HSVhsv(268, 68%, 100%)
CMYKcmyk(36.5%, 67.8%, 0%, 0%)
CIE-LABlab(52.88, 64.75, -73.51)
CIE-LCHlch(52.88, 97.96, 311.37°)
OKLaboklab(62.24% 0.124 -0.2095)
OKLCHoklch(62.24% 0.243 300.6)
XYZxyz(35.9632, 20.9357, 96.7347)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252FF #AFFF52
analogous
#5258FF #A252FF #F952FF
triadic
#A252FF #FFA252 #52FFA2
tetradic
#A252FF #FF5258 #AFFF52 #52FFF9
square
#A252FF #FF5258 #AFFF52 #52FFF9
split-complementary
#A252FF #FFF952 #58FF52
monochromatic
#6300D7 #8115FF #A252FF #C38FFF #E4CCFF

Accessibility & contrast

On white

4.05
#A252FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A252FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252FF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252FF#FFFFFF#000000##000000
##A252FF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#8D7BA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a252ff;
/* rgb */ color: rgb(162, 82, 255);
/* oklch */ color: oklch(62.2% 0.243 300.6);
Tailwind
colors: {
  custom: {
    50: '#c488ff',
    500: '#a252ff',
    950: '#000000',
  },
}
SCSS
$custom: #a252ff;
$custom-light: #c488ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a252ff",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 267.746,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.2434,
    "h": 300.6
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#A252FF
secondary
#D9F3BA
accent
#E6007B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A252FF

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

Preview Lab → · Contrast checker → · Palette generator →

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