#A852DB#A852DB

#A852DB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.208 H 310.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A852DB
RGBrgb(168, 82, 219)
HSLhsl(278, 66%, 59%)
HSVhsv(278, 63%, 86%)
CMYKcmyk(23.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(51.24, 57.83, -55.93)
CIE-LCHlch(51.24, 80.45, 315.96°)
OKLaboklab(60.46% 0.135 -0.1576)
OKLCHoklch(60.46% 0.208 310.6)
XYZxyz(31.9495, 19.4746, 69.0800)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852DB #85DB52
analogous
#6452DB #A852DB #DB52CA
triadic
#A852DB #DBA852 #52DBA8
tetradic
#A852DB #DB6452 #85DB52 #52CADB
square
#A852DB #DB6452 #85DB52 #52CADB
split-complementary
#A852DB #CADB52 #52DB64
monochromatic
#681F94 #8C29C6 #A852DB #C185E6 #DBB7F0

Accessibility & contrast

On white

4.29
#A852DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A852DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852DB#FFFFFF#000000##000000
##A852DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B76DF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#A16D8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a852db;
/* rgb */ color: rgb(168, 82, 219);
/* oklch */ color: oklch(60.5% 0.208 310.6);
Tailwind
colors: {
  custom: {
    50: '#c687e7',
    500: '#a852db',
    950: '#000000',
  },
}
SCSS
$custom: #a852db;
$custom-light: #c687e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a852db",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 277.664,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.20753,
    "h": 310.6
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#A852DB
secondary
#BEDFAA
accent
#E93F7E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A852DB

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

Preview Lab → · Contrast checker → · Palette generator →

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