#A852D7#A852D7

#A852D7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.203 H 311.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A852D7
RGBrgb(168, 82, 215)
HSLhsl(279, 62%, 58%)
HSVhsv(279, 62%, 84%)
CMYKcmyk(21.9%, 61.9%, 0%, 15.7%)
CIE-LABlab(51.00, 56.97, -54.04)
CIE-LCHlch(51.00, 78.52, 316.51°)
OKLaboklab(60.21% 0.1351 -0.1521)
OKLCHoklch(60.21% 0.203 311.6)
XYZxyz(31.4292, 19.2665, 66.3400)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852D7 #81D752
analogous
#6552D7 #A852D7 #D752C3
triadic
#A852D7 #D7A852 #52D7A8
tetradic
#A852D7 #D76552 #81D752 #52C3D7
square
#A852D7 #D76552 #81D752 #52C3D7
split-complementary
#A852D7 #C3D752 #52D765
monochromatic
#67218E #8B2CC0 #A852D7 #C184E2 #DAB5EE

Accessibility & contrast

On white

4.33
#A852D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A852D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852D7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852D7#FFFFFF#000000##000000
##A852D71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1875DB
Deuteranopia (green-blind)
#467BD4
Tritanopia (blue-blind)
#A26B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a852d7;
/* rgb */ color: rgb(168, 82, 215);
/* oklch */ color: oklch(60.2% 0.203 311.6);
Tailwind
colors: {
  custom: {
    50: '#c587e4',
    500: '#a852d7',
    950: '#000000',
  },
}
SCSS
$custom: #a852d7;
$custom-light: #c587e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a852d7",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 278.797,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.20343,
    "h": 311.6
  },
  "luminance": 0.19266
}

Semantic roles & 50–950 ramp

primary
#A852D7
secondary
#BBDDA8
accent
#E6427C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A852D7

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

Preview Lab → · Contrast checker → · Palette generator →

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