#A152E6#A152E6

#A152E6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.217 H 305.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A152E6
RGBrgb(161, 82, 230)
HSLhsl(272, 75%, 61%)
HSVhsv(272, 64%, 90%)
CMYKcmyk(30%, 64.3%, 0%, 9.8%)
CIE-LABlab(51.07, 58.74, -62.47)
CIE-LCHlch(51.07, 85.75, 313.24°)
OKLaboklab(60.37% 0.1255 -0.1771)
OKLCHoklch(60.37% 0.217 305.3)
XYZxyz(31.9950, 19.3250, 76.8921)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152E6 #97E652
analogous
#5752E6 #A152E6 #E652E1
triadic
#A152E6 #E6A152 #52E6A1
tetradic
#A152E6 #E65752 #97E652 #52E1E6
square
#A152E6 #E65752 #97E652 #52E1E6
split-complementary
#A152E6 #E1E652 #52E657
monochromatic
#6418A6 #8420DB #A152E6 #BE87EE #DBBDF5

Accessibility & contrast

On white

4.32
#A152E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A152E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152E6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152E6#FFFFFF#000000##000000
##A152E61.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#2A7AE3
Tritanopia (blue-blind)
#957295
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a152e6;
/* rgb */ color: rgb(161, 82, 230);
/* oklch */ color: oklch(60.4% 0.217 305.3);
Tailwind
colors: {
  custom: {
    50: '#c187ef',
    500: '#a152e6',
    950: '#000000',
  },
}
SCSS
$custom: #a152e6;
$custom-light: #c187ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a152e6",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 272.027,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.217,
    "h": 305.3
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#A152E6
secondary
#C8E6AE
accent
#D70F6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152E6

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

Preview Lab → · Contrast checker → · Palette generator →

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