#A152DB#A152DB

#A152DB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.205 H 307.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A152DB
RGBrgb(161, 82, 219)
HSLhsl(275, 66%, 59%)
HSVhsv(275, 63%, 86%)
CMYKcmyk(26.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(50.37, 56.25, -57.37)
CIE-LCHlch(50.37, 80.35, 314.43°)
OKLaboklab(59.65% 0.1261 -0.1621)
OKLCHoklch(59.65% 0.205 307.9)
XYZxyz(30.4988, 18.7266, 69.0120)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152DB #8CDB52
analogous
#5D52DB #A152DB #DB52D0
triadic
#A152DB #DBA152 #52DBA1
tetradic
#A152DB #DB5D52 #8CDB52 #52D0DB
square
#A152DB #DB5D52 #8CDB52 #52D0DB
split-complementary
#A152DB #D0DB52 #52DB5D
monochromatic
#621F94 #8429C6 #A152DB #BD85E6 #D8B7F0

Accessibility & contrast

On white

4.43
#A152DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A152DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152DB#FFFFFF#000000##000000
##A152DB1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#986E8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a152db;
/* rgb */ color: rgb(161, 82, 219);
/* oklch */ color: oklch(59.6% 0.205 307.9);
Tailwind
colors: {
  custom: {
    50: '#c187e7',
    500: '#a152db',
    950: '#000000',
  },
}
SCSS
$custom: #a152db;
$custom-light: #c187e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a152db",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 274.599,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.20539,
    "h": 307.9
  },
  "luminance": 0.18726
}

Semantic roles & 50–950 ramp

primary
#A152DB
secondary
#C0DFAA
accent
#E93F87
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152DB

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

Preview Lab → · Contrast checker → · Palette generator →

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