#A852DE#A852DE

#A852DE is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.211 H 309.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A852DE
RGBrgb(168, 82, 222)
HSLhsl(277, 68%, 60%)
HSVhsv(277, 63%, 87%)
CMYKcmyk(24.3%, 63.1%, 0%, 12.9%)
CIE-LABlab(51.42, 58.48, -57.33)
CIE-LCHlch(51.42, 81.90, 315.57°)
OKLaboklab(60.65% 0.1349 -0.1618)
OKLCHoklch(60.65% 0.211 309.8)
XYZxyz(32.3480, 19.6340, 71.1787)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852DE #88DE52
analogous
#6252DE #A852DE #DE52CE
triadic
#A852DE #DEA852 #52DEA8
tetradic
#A852DE #DE6252 #88DE52 #52CEDE
square
#A852DE #DE6252 #88DE52 #52CEDE
split-complementary
#A852DE #CEDE52 #52DE62
monochromatic
#691D99 #8C27CC #A852DE #C285E8 #DCB9F2

Accessibility & contrast

On white

4.26
#A852DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A852DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852DE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852DE#FFFFFF#000000##000000
##A852DE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#3F7CDB
Tritanopia (blue-blind)
#A16E91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a852de;
/* rgb */ color: rgb(168, 82, 222);
/* oklch */ color: oklch(60.7% 0.211 309.8);
Tailwind
colors: {
  custom: {
    50: '#c688e9',
    500: '#a852de',
    950: '#000000',
  },
}
SCSS
$custom: #a852de;
$custom-light: #c688e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a852de",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 276.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.21061,
    "h": 309.8
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#A852DE
secondary
#C0E1AB
accent
#EB3D80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A852DE

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

Preview Lab → · Contrast checker → · Palette generator →

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