#A852EA#A852EA

#A852EA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.223 H 307.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A852EA
RGBrgb(168, 82, 234)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 65%, 92%)
CMYKcmyk(28.2%, 65%, 0%, 8.2%)
CIE-LABlab(52.18, 61.13, -62.89)
CIE-LCHlch(52.18, 87.70, 314.18°)
OKLaboklab(61.44% 0.1341 -0.1781)
OKLCHoklch(61.44% 0.223 307)
XYZxyz(34.0139, 20.3003, 79.9524)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852EA #94EA52
analogous
#5C52EA #A852EA #EA52E0
triadic
#A852EA #EAA852 #52EAA8
tetradic
#A852EA #EA5C52 #94EA52 #52E0EA
square
#A852EA #EA5C52 #94EA52 #52E0EA
split-complementary
#A852EA #E0EA52 #52EA5C
monochromatic
#6B15AD #8D1CE3 #A852EA #C389F1 #DFBFF7

Accessibility & contrast

On white

4.15
#A852EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A852EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852EA#FFFFFF#000000##000000
##A852EA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#9D7297
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a852ea;
/* rgb */ color: rgb(168, 82, 234);
/* oklch */ color: oklch(61.4% 0.223 307.0);
Tailwind
colors: {
  custom: {
    50: '#c688f2',
    500: '#a852ea',
    950: '#000000',
  },
}
SCSS
$custom: #a852ea;
$custom-light: #c688f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a852ea",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 273.947,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61439,
    "c": 0.22293,
    "h": 307
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#A852EA
secondary
#C8E8B0
accent
#DB0B65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A852EA

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

Preview Lab → · Contrast checker → · Palette generator →

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