#A152DE#A152DE

#A152DE is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.209 H 307.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A152DE
RGBrgb(161, 82, 222)
HSLhsl(274, 68%, 60%)
HSVhsv(274, 63%, 87%)
CMYKcmyk(27.5%, 63.1%, 0%, 12.9%)
CIE-LABlab(50.55, 56.92, -58.77)
CIE-LCHlch(50.55, 81.82, 314.08°)
OKLaboklab(59.84% 0.126 -0.1662)
OKLCHoklch(59.84% 0.209 307.2)
XYZxyz(30.8973, 18.8859, 71.1107)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152DE #8FDE52
analogous
#5B52DE #A152DE #DE52D5
triadic
#A152DE #DEA152 #52DEA1
tetradic
#A152DE #DE5B52 #8FDE52 #52D5DE
square
#A152DE #DE5B52 #8FDE52 #52D5DE
split-complementary
#A152DE #D5DE52 #52DE5B
monochromatic
#631D99 #8427CC #A152DE #BD85E8 #D9B9F2

Accessibility & contrast

On white

4.40
#A152DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A152DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152DE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152DE#FFFFFF#000000##000000
##A152DE1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#976F91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a152de;
/* rgb */ color: rgb(161, 82, 222);
/* oklch */ color: oklch(59.8% 0.209 307.2);
Tailwind
colors: {
  custom: {
    50: '#c187e9',
    500: '#a152de',
    950: '#000000',
  },
}
SCSS
$custom: #a152de;
$custom-light: #c187e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a152de",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 273.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.20856,
    "h": 307.2
  },
  "luminance": 0.18886
}

Semantic roles & 50–950 ramp

primary
#A152DE
secondary
#C2E1AB
accent
#EB3D89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152DE

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

Preview Lab → · Contrast checker → · Palette generator →

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