#A852FA#A852FA

#A852FA is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.5% C 0.239 H 303.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A852FA
RGBrgb(168, 82, 250)
HSLhsl(271, 94%, 65%)
HSVhsv(271, 67%, 98%)
CMYKcmyk(32.8%, 67.2%, 0%, 2%)
CIE-LABlab(53.23, 64.73, -70.12)
CIE-LCHlch(53.23, 95.43, 312.71°)
OKLaboklab(62.54% 0.1325 -0.1993)
OKLCHoklch(62.54% 0.239 303.6)
XYZxyz(36.4171, 21.2616, 92.6093)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852FA #A4FA52
analogous
#5452FA #A852FA #FA52F8
triadic
#A852FA #FAA852 #52FAA8
tetradic
#A852FA #FA5452 #A4FA52 #52F8FA
square
#A852FA #FA5452 #A4FA52 #52F8FA
split-complementary
#A852FA #F8FA52 #52FA54
monochromatic
#6B06CC #8A17F8 #A852FA #C68DFC #E4C9FD

Accessibility & contrast

On white

4.00
#A852FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A852FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852FA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852FA#FFFFFF#000000##000000
##A852FA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007FF6
Tritanopia (blue-blind)
#9878A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a852fa;
/* rgb */ color: rgb(168, 82, 250);
/* oklch */ color: oklch(62.5% 0.239 303.6);
Tailwind
colors: {
  custom: {
    50: '#c788fd',
    500: '#a852fa',
    950: '#000000',
  },
}
SCSS
$custom: #a852fa;
$custom-light: #c788fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a852fa",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 250
  },
  "hsl": {
    "h": 270.714,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62535,
    "c": 0.23933,
    "h": 303.6
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#A852FA
secondary
#D3F0B7
accent
#E60070
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A852FA

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

Preview Lab → · Contrast checker → · Palette generator →

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