#A152ED#A152ED

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

Color values

HEX#A152ED
RGBrgb(161, 82, 237)
HSLhsl(271, 81%, 63%)
HSVhsv(271, 65%, 93%)
CMYKcmyk(32.1%, 65.4%, 0%, 7.1%)
CIE-LABlab(51.53, 60.35, -65.67)
CIE-LCHlch(51.53, 89.19, 312.59°)
OKLaboklab(60.85% 0.1248 -0.1864)
OKLCHoklch(60.85% 0.224 303.8)
XYZxyz(32.9978, 19.7262, 82.1735)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152ED #9EED52
analogous
#5452ED #A152ED #ED52EB
triadic
#A152ED #EDA152 #52EDA1
tetradic
#A152ED #ED5452 #9EED52 #52EBED
square
#A152ED #ED5452 #9EED52 #52EBED
split-complementary
#A152ED #EBED52 #52ED54
monochromatic
#6413B2 #831BE7 #A152ED #BF89F3 #DDC1F9

Accessibility & contrast

On white

4.25
#A152ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A152ED#FFFFFF#000000##000000
##A152ED1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#1A7BEA
Tritanopia (blue-blind)
#927499
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a152ed;
/* rgb */ color: rgb(161, 82, 237);
/* oklch */ color: oklch(60.9% 0.224 303.8);
Tailwind
colors: {
  custom: {
    50: '#c287f4',
    500: '#a152ed',
    950: '#000000',
  },
}
SCSS
$custom: #a152ed;
$custom-light: #c287f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a152ed",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 270.581,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.22438,
    "h": 303.8
  },
  "luminance": 0.19726
}

Semantic roles & 50–950 ramp

primary
#A152ED
secondary
#CDEAB1
accent
#DE0871
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A152ED

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

Preview Lab → · Contrast checker → · Palette generator →

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