#A152E4#A152E4

#A152E4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.2% C 0.215 H 305.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A152E4
RGBrgb(161, 82, 228)
HSLhsl(272, 73%, 61%)
HSVhsv(272, 64%, 89%)
CMYKcmyk(29.4%, 64%, 0%, 10.6%)
CIE-LABlab(50.94, 58.29, -61.55)
CIE-LCHlch(50.94, 84.77, 313.44°)
OKLaboklab(60.24% 0.1256 -0.1744)
OKLCHoklch(60.24% 0.215 305.8)
XYZxyz(31.7158, 19.2133, 75.4215)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152E4 #95E452
analogous
#5852E4 #A152E4 #E452DE
triadic
#A152E4 #E4A152 #52E4A1
tetradic
#A152E4 #E45852 #95E452 #52DEE4
square
#A152E4 #E45852 #95E452 #52DEE4
split-complementary
#A152E4 #DEE452 #52E458
monochromatic
#6319A2 #8422D7 #A152E4 #BE87EC #DBBCF5

Accessibility & contrast

On white

4.34
#A152E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A152E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152E4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152E4#FFFFFF#000000##000000
##A152E41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2D7AE1
Tritanopia (blue-blind)
#957194
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a152e4;
/* rgb */ color: rgb(161, 82, 228);
/* oklch */ color: oklch(60.2% 0.215 305.8);
Tailwind
colors: {
  custom: {
    50: '#c187ed',
    500: '#a152e4',
    950: '#000000',
  },
}
SCSS
$custom: #a152e4;
$custom-light: #c187ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a152e4",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 272.466,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60238,
    "c": 0.21489,
    "h": 305.8
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

primary
#A152E4
secondary
#C7E5AD
accent
#D5106B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152E4

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

Preview Lab → · Contrast checker → · Palette generator →

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