#A852FF#A852FF

#A852FF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.9% C 0.244 H 302.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A852FF
RGBrgb(168, 82, 255)
HSLhsl(270, 100%, 66%)
HSVhsv(270, 68%, 100%)
CMYKcmyk(34.1%, 67.8%, 0%, 0%)
CIE-LABlab(53.58, 65.87, -72.34)
CIE-LCHlch(53.58, 97.84, 312.32°)
OKLaboklab(62.89% 0.1318 -0.2058)
OKLCHoklch(62.89% 0.244 302.6)
XYZxyz(37.2115, 21.5794, 96.7932)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852FF #A9FF52
analogous
#5252FF #A852FF #FF52FF
triadic
#A852FF #FFA852 #52FFA8
tetradic
#A852FF #FF5252 #A9FF52 #52FFFF
square
#A852FF #FF5252 #A9FF52 #52FFFF
split-complementary
#A852FF #FFFF52 #52FF52
monochromatic
#6B00D7 #8915FF #A852FF #C78FFF #E6CCFF

Accessibility & contrast

On white

3.95
#A852FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A852FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852FF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852FF#FFFFFF#000000##000000
##A852FF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#967AA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a852ff;
/* rgb */ color: rgb(168, 82, 255);
/* oklch */ color: oklch(62.9% 0.244 302.6);
Tailwind
colors: {
  custom: {
    50: '#c888ff',
    500: '#a852ff',
    950: '#000000',
  },
}
SCSS
$custom: #a852ff;
$custom-light: #c888ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a852ff",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 269.827,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62888,
    "c": 0.24443,
    "h": 302.6
  },
  "luminance": 0.21579
}

Semantic roles & 50–950 ramp

primary
#A852FF
secondary
#D7F3BA
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A852FF

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

Preview Lab → · Contrast checker → · Palette generator →

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