#A852DD#A852DD

#A852DD is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.210 H 310.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A852DD
RGBrgb(168, 82, 221)
HSLhsl(277, 67%, 59%)
HSVhsv(277, 63%, 87%)
CMYKcmyk(24%, 62.9%, 0%, 13.3%)
CIE-LABlab(51.36, 58.27, -56.87)
CIE-LCHlch(51.36, 81.42, 315.70°)
OKLaboklab(60.59% 0.1349 -0.1604)
OKLCHoklch(60.59% 0.21 310.1)
XYZxyz(32.2144, 19.5805, 70.4750)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852DD #87DD52
analogous
#6352DD #A852DD #DD52CD
triadic
#A852DD #DDA852 #52DDA8
tetradic
#A852DD #DD6352 #87DD52 #52CDDD
square
#A852DD #DD6352 #87DD52 #52CDDD
split-complementary
#A852DD #CDDD52 #52DD63
monochromatic
#691E97 #8C28CA #A852DD #C285E7 #DBB8F1

Accessibility & contrast

On white

4.27
#A852DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A852DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852DD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852DD#FFFFFF#000000##000000
##A852DD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0177E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#A16E90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a852dd;
/* rgb */ color: rgb(168, 82, 221);
/* oklch */ color: oklch(60.6% 0.210 310.1);
Tailwind
colors: {
  custom: {
    50: '#c687e8',
    500: '#a852dd',
    950: '#000000',
  },
}
SCSS
$custom: #a852dd;
$custom-light: #c687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a852dd",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 277.122,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60591,
    "c": 0.20958,
    "h": 310.1
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#A852DD
secondary
#BFE0AA
accent
#EA3E7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A852DD

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

Preview Lab → · Contrast checker → · Palette generator →

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