#A852DF#A852DF

#A852DF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.212 H 309.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A852DF
RGBrgb(168, 82, 223)
HSLhsl(277, 69%, 60%)
HSVhsv(277, 63%, 87%)
CMYKcmyk(24.7%, 63.2%, 0%, 12.5%)
CIE-LABlab(51.48, 58.70, -57.80)
CIE-LCHlch(51.48, 82.38, 315.44°)
OKLaboklab(60.72% 0.1348 -0.1631)
OKLCHoklch(60.72% 0.212 309.6)
XYZxyz(32.4824, 19.6877, 71.8867)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852DF #89DF52
analogous
#6252DF #A852DF #DF52CF
triadic
#A852DF #DFA852 #52DFA8
tetradic
#A852DF #DF6252 #89DF52 #52CFDF
square
#A852DF #DF6252 #89DF52 #52CFDF
split-complementary
#A852DF #CFDF52 #52DF62
monochromatic
#691D9A #8C26CE #A852DF #C286E9 #DCB9F2

Accessibility & contrast

On white

4.25
#A852DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A852DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852DF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852DF#FFFFFF#000000##000000
##A852DF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#A06E91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a852df;
/* rgb */ color: rgb(168, 82, 223);
/* oklch */ color: oklch(60.7% 0.212 309.6);
Tailwind
colors: {
  custom: {
    50: '#c688ea',
    500: '#a852df',
    950: '#000000',
  },
}
SCSS
$custom: #a852df;
$custom-light: #c688ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a852df",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 276.596,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.21163,
    "h": 309.6
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#A852DF
secondary
#C0E2AB
accent
#EC3C81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A852DF

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

Preview Lab → · Contrast checker → · Palette generator →

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