#A952DE#A952DE

#A952DE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.211 H 310.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A952DE
RGBrgb(169, 82, 222)
HSLhsl(277, 68%, 60%)
HSVhsv(277, 63%, 87%)
CMYKcmyk(23.9%, 63.1%, 0%, 12.9%)
CIE-LABlab(51.55, 58.71, -57.13)
CIE-LCHlch(51.55, 81.92, 315.78°)
OKLaboklab(60.77% 0.1361 -0.1611)
OKLCHoklch(60.77% 0.211 310.2)
XYZxyz(32.5618, 19.7442, 71.1888)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952DE #87DE52
analogous
#6352DE #A952DE #DE52CD
triadic
#A952DE #DEA952 #52DEA9
tetradic
#A952DE #DE6352 #87DE52 #52CDDE
square
#A952DE #DE6352 #87DE52 #52CDDE
split-complementary
#A952DE #CDDE52 #52DE63
monochromatic
#6A1D99 #8D27CC #A952DE #C385E8 #DCB9F2

Accessibility & contrast

On white

4.24
#A952DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A952DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952DE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952DE#FFFFFF#000000##000000
##A952DE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#A26E91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a952de;
/* rgb */ color: rgb(169, 82, 222);
/* oklch */ color: oklch(60.8% 0.211 310.2);
Tailwind
colors: {
  custom: {
    50: '#c688e9',
    500: '#a952de',
    950: '#000000',
  },
}
SCSS
$custom: #a952de;
$custom-light: #c688e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a952de",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 277.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.21092,
    "h": 310.2
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#A952DE
secondary
#BFE1AB
accent
#EB3D7F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952DE

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

Preview Lab → · Contrast checker → · Palette generator →

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