#A152DF#A152DF

#A152DF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.9% C 0.210 H 306.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A152DF
RGBrgb(161, 82, 223)
HSLhsl(274, 69%, 60%)
HSVhsv(274, 63%, 87%)
CMYKcmyk(27.8%, 63.2%, 0%, 12.5%)
CIE-LABlab(50.62, 57.15, -59.24)
CIE-LCHlch(50.62, 82.31, 313.97°)
OKLaboklab(59.91% 0.1259 -0.1676)
OKLCHoklch(59.91% 0.21 306.9)
XYZxyz(31.0317, 18.9397, 71.8187)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152DF #90DF52
analogous
#5B52DF #A152DF #DF52D6
triadic
#A152DF #DFA152 #52DFA1
tetradic
#A152DF #DF5B52 #90DF52 #52D6DF
square
#A152DF #DF5B52 #90DF52 #52D6DF
split-complementary
#A152DF #D6DF52 #52DF5B
monochromatic
#631D9A #8426CE #A152DF #BD86E9 #D9B9F2

Accessibility & contrast

On white

4.39
#A152DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A152DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152DF#FFFFFF#000000##000000
##A152DF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#976F91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a152df;
/* rgb */ color: rgb(161, 82, 223);
/* oklch */ color: oklch(59.9% 0.210 306.9);
Tailwind
colors: {
  custom: {
    50: '#c187ea',
    500: '#a152df',
    950: '#000000',
  },
}
SCSS
$custom: #a152df;
$custom-light: #c187ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a152df",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 273.617,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.20961,
    "h": 306.9
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#A152DF
secondary
#C3E2AB
accent
#EC3C89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152DF

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

Preview Lab → · Contrast checker → · Palette generator →

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