#A452DC#A452DC

#A452DC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.1% C 0.207 H 308.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A452DC
RGBrgb(164, 82, 220)
HSLhsl(276, 66%, 59%)
HSVhsv(276, 63%, 86%)
CMYKcmyk(25.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(50.80, 57.15, -57.23)
CIE-LCHlch(50.80, 80.88, 314.96°)
OKLaboklab(60.06% 0.1299 -0.1616)
OKLCHoklch(60.06% 0.207 308.8)
XYZxyz(31.2428, 19.0949, 69.7361)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452DC #8ADC52
analogous
#5F52DC #A452DC #DC52CF
triadic
#A452DC #DCA452 #52DCA4
tetradic
#A452DC #DC5F52 #8ADC52 #52CFDC
square
#A452DC #DC5F52 #8ADC52 #52CFDC
split-complementary
#A452DC #CFDC52 #52DC5F
monochromatic
#651E95 #8729C8 #A452DC #BF85E6 #DAB8F1

Accessibility & contrast

On white

4.36
#A452DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A452DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452DC#FFFFFF#000000##000000
##A452DC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#9C6E90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a452dc;
/* rgb */ color: rgb(164, 82, 220);
/* oklch */ color: oklch(60.1% 0.207 308.8);
Tailwind
colors: {
  custom: {
    50: '#c387e8',
    500: '#a452dc',
    950: '#000000',
  },
}
SCSS
$custom: #a452dc;
$custom-light: #c387e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a452dc",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 275.652,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.20732,
    "h": 308.8
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#A452DC
secondary
#C0E0AA
accent
#E93F84
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A452DC

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

Preview Lab → · Contrast checker → · Palette generator →

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