#A852DA#A852DA

#A852DA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.207 H 310.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A852DA
RGBrgb(168, 82, 218)
HSLhsl(278, 65%, 59%)
HSVhsv(278, 62%, 85%)
CMYKcmyk(22.9%, 62.4%, 0%, 14.5%)
CIE-LABlab(51.18, 57.62, -55.46)
CIE-LCHlch(51.18, 79.97, 316.10°)
OKLaboklab(60.4% 0.135 -0.1562)
OKLCHoklch(60.4% 0.207 310.8)
XYZxyz(31.8183, 19.4221, 68.3888)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852DA #84DA52
analogous
#6452DA #A852DA #DA52C8
triadic
#A852DA #DAA852 #52DAA8
tetradic
#A852DA #DA6452 #84DA52 #52C8DA
square
#A852DA #DA6452 #84DA52 #52C8DA
split-complementary
#A852DA #C8DA52 #52DA64
monochromatic
#681F92 #8C2AC5 #A852DA #C184E5 #DBB7F0

Accessibility & contrast

On white

4.30
#A852DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A852DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852DA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852DA#FFFFFF#000000##000000
##A852DA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DE
Deuteranopia (green-blind)
#437BD7
Tritanopia (blue-blind)
#A26C8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a852da;
/* rgb */ color: rgb(168, 82, 218);
/* oklch */ color: oklch(60.4% 0.207 310.8);
Tailwind
colors: {
  custom: {
    50: '#c587e6',
    500: '#a852da',
    950: '#000000',
  },
}
SCSS
$custom: #a852da;
$custom-light: #c587e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a852da",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 277.941,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.604,
    "c": 0.20651,
    "h": 310.8
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#A852DA
secondary
#BDDFA9
accent
#E8407E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A852DA

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

Preview Lab → · Contrast checker → · Palette generator →

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