#A252BF#A252BF

#A252BF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.176 H 316.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A252BF
RGBrgb(162, 82, 191)
HSLhsl(284, 46%, 54%)
HSVhsv(284, 57%, 75%)
CMYKcmyk(15.2%, 57.1%, 0%, 25.1%)
CIE-LABlab(48.86, 50.42, -43.72)
CIE-LCHlch(48.86, 66.73, 319.07°)
OKLaboklab(58.05% 0.1273 -0.1221)
OKLCHoklch(58.05% 0.176 316.2)
XYZxyz(27.3201, 17.4785, 51.2147)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252BF #6FBF52
analogous
#6B52BF #A252BF #BF52A5
triadic
#A252BF #BFA252 #52BFA2
tetradic
#A252BF #BF6B52 #6FBF52 #52A5BF
square
#A252BF #BF6B52 #6FBF52 #52A5BF
split-complementary
#A252BF #A5BF52 #52BF6B
monochromatic
#5C296E #81399B #A252BF #BA7FD0 #D2ABE0

Accessibility & contrast

On white

4.67
#A252BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A252BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A252BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252BF#FFFFFF#000000##FFFFFF
##A252BF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#A16481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a252bf;
/* rgb */ color: rgb(162, 82, 191);
/* oklch */ color: oklch(58.0% 0.176 316.2);
Tailwind
colors: {
  custom: {
    50: '#c086d3',
    500: '#a252bf',
    950: '#000000',
  },
}
SCSS
$custom: #a252bf;
$custom-light: #c086d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a252bf",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 284.037,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.1764,
    "h": 316.2
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#A252BF
secondary
#ABCE9F
accent
#D65275
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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