#A852E6#A852E6

#A852E6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.219 H 307.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A852E6
RGBrgb(168, 82, 230)
HSLhsl(275, 75%, 61%)
HSVhsv(275, 64%, 90%)
CMYKcmyk(27%, 64.3%, 0%, 9.8%)
CIE-LABlab(51.92, 60.24, -61.05)
CIE-LCHlch(51.92, 85.77, 314.62°)
OKLaboklab(61.17% 0.1344 -0.1727)
OKLCHoklch(61.17% 0.219 307.9)
XYZxyz(33.4457, 20.0731, 76.9601)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852E6 #90E652
analogous
#5E52E6 #A852E6 #E652DA
triadic
#A852E6 #E6A852 #52E6A8
tetradic
#A852E6 #E65E52 #90E652 #52DAE6
square
#A852E6 #E65E52 #90E652 #52DAE6
split-complementary
#A852E6 #DAE652 #52E65E
monochromatic
#6A18A6 #8D20DB #A852E6 #C387EE #DEBDF5

Accessibility & contrast

On white

4.19
#A852E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A852E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852E6#FFFFFF#000000##000000
##A852E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#9E7195
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a852e6;
/* rgb */ color: rgb(168, 82, 230);
/* oklch */ color: oklch(61.2% 0.219 307.9);
Tailwind
colors: {
  custom: {
    50: '#c688ef',
    500: '#a852e6',
    950: '#000000',
  },
}
SCSS
$custom: #a852e6;
$custom-light: #c688ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a852e6",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 274.865,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.21882,
    "h": 307.9
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#A852E6
secondary
#C5E6AE
accent
#D70F63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A852E6

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

Preview Lab → · Contrast checker → · Palette generator →

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