#A852F3#A852F3

#A852F3 is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.232 H 305.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A852F3
RGBrgb(168, 82, 243)
HSLhsl(272, 87%, 64%)
HSVhsv(272, 66%, 95%)
CMYKcmyk(30.9%, 66.3%, 0%, 4.7%)
CIE-LABlab(52.76, 63.14, -66.98)
CIE-LCHlch(52.76, 92.05, 313.31°)
OKLaboklab(62.05% 0.1333 -0.1901)
OKLCHoklch(62.05% 0.232 305)
XYZxyz(35.3398, 20.8307, 86.9356)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852F3 #9DF352
analogous
#5752F3 #A852F3 #F352ED
triadic
#A852F3 #F3A852 #52F3A8
tetradic
#A852F3 #F35752 #9DF352 #52EDF3
square
#A852F3 #F35752 #9DF352 #52EDF3
split-complementary
#A852F3 #EDF352 #52F357
monochromatic
#6B0DBD #8B19EF #A852F3 #C58BF7 #E2C4FB

Accessibility & contrast

On white

4.07
#A852F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A852F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852F3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852F3#FFFFFF#000000##000000
##A852F31.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#1D7EF0
Tritanopia (blue-blind)
#9A769C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a852f3;
/* rgb */ color: rgb(168, 82, 243);
/* oklch */ color: oklch(62.0% 0.232 305.0);
Tailwind
colors: {
  custom: {
    50: '#c788f8',
    500: '#a852f3',
    950: '#000000',
  },
}
SCSS
$custom: #a852f3;
$custom-light: #c788f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a852f3",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 272.05,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62049,
    "c": 0.23215,
    "h": 305
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#A852F3
secondary
#CEEDB4
accent
#E4026B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A852F3

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

Preview Lab → · Contrast checker → · Palette generator →

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