#A852BF#A852BF

#A852BF is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.179 H 318.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A852BF
RGBrgb(168, 82, 191)
HSLhsl(287, 46%, 54%)
HSVhsv(287, 57%, 75%)
CMYKcmyk(12%, 57.1%, 0%, 25.1%)
CIE-LABlab(49.64, 51.98, -42.42)
CIE-LCHlch(49.64, 67.09, 320.78°)
OKLaboklab(58.79% 0.1346 -0.1182)
OKLCHoklch(58.79% 0.179 318.7)
XYZxyz(28.5685, 18.1222, 51.2732)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852BF #69BF52
analogous
#7152BF #A852BF #BF52A0
triadic
#A852BF #BFA852 #52BFA8
tetradic
#A852BF #BF7152 #69BF52 #52A0BF
square
#A852BF #BF7152 #69BF52 #52A0BF
split-complementary
#A852BF #A0BF52 #52BF71
monochromatic
#5F296E #86399B #A852BF #BE7FD0 #D5ABE0

Accessibility & contrast

On white

4.54
#A852BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A852BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852BF#FFFFFF#000000##000000
##A852BF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#A86381
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a852bf;
/* rgb */ color: rgb(168, 82, 191);
/* oklch */ color: oklch(58.8% 0.179 318.7);
Tailwind
colors: {
  custom: {
    50: '#c487d3',
    500: '#a852bf',
    950: '#000000',
  },
}
SCSS
$custom: #a852bf;
$custom-light: #c487d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a852bf",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 287.339,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.17912,
    "h": 318.7
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#A852BF
secondary
#A9CE9F
accent
#D6526E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A852BF

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

Preview Lab → · Contrast checker → · Palette generator →

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