#A852E8#A852E8

#A852E8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.221 H 307.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A852E8
RGBrgb(168, 82, 232)
HSLhsl(274, 77%, 62%)
HSVhsv(274, 65%, 91%)
CMYKcmyk(27.6%, 64.7%, 0%, 9%)
CIE-LABlab(52.05, 60.68, -61.97)
CIE-LCHlch(52.05, 86.74, 314.40°)
OKLaboklab(61.31% 0.1343 -0.1754)
OKLCHoklch(61.31% 0.221 307.4)
XYZxyz(33.7282, 20.1860, 78.4478)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852E8 #92E852
analogous
#5D52E8 #A852E8 #E852DD
triadic
#A852E8 #E8A852 #52E8A8
tetradic
#A852E8 #E85D52 #92E852 #52DDE8
square
#A852E8 #E85D52 #92E852 #52DDE8
split-complementary
#A852E8 #DDE852 #52E85D
monochromatic
#6B16A9 #8D1EDF #A852E8 #C388EF #DEBEF6

Accessibility & contrast

On white

4.17
#A852E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A852E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852E8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852E8#FFFFFF#000000##000000
##A852E81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#9E7296
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a852e8;
/* rgb */ color: rgb(168, 82, 232);
/* oklch */ color: oklch(61.3% 0.221 307.4);
Tailwind
colors: {
  custom: {
    50: '#c688f0',
    500: '#a852e8',
    950: '#000000',
  },
}
SCSS
$custom: #a852e8;
$custom-light: #c688f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a852e8",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 274.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.22087,
    "h": 307.4
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#A852E8
secondary
#C7E7AF
accent
#D90D64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A852E8

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

Preview Lab → · Contrast checker → · Palette generator →

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