#A151D6#A151D6

#A151D6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.202 H 309.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A151D6
RGBrgb(161, 81, 214)
HSLhsl(276, 62%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(24.8%, 62.1%, 0%, 16.1%)
CIE-LABlab(49.88, 55.62, -55.31)
CIE-LCHlch(49.88, 78.44, 315.16°)
OKLaboklab(59.19% 0.1275 -0.156)
OKLCHoklch(59.19% 0.202 309.3)
XYZxyz(29.7756, 18.3175, 65.5724)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151D6 #86D651
analogous
#5E51D6 #A151D6 #D651C8
triadic
#A151D6 #D6A151 #51D6A1
tetradic
#A151D6 #D65E51 #86D651 #51C8D6
square
#A151D6 #D65E51 #86D651 #51C8D6
split-complementary
#A151D6 #C8D651 #51D65E
monochromatic
#61218C #842DBD #A151D6 #BC83E2 #D7B4ED

Accessibility & contrast

On white

4.50
#A151D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A151D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151D6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151D6#FFFFFF#000000##000000
##A151D61.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A73DA
Deuteranopia (green-blind)
#3E78D3
Tritanopia (blue-blind)
#9A6B8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a151d6;
/* rgb */ color: rgb(161, 81, 214);
/* oklch */ color: oklch(59.2% 0.202 309.3);
Tailwind
colors: {
  custom: {
    50: '#c086e3',
    500: '#a151d6',
    950: '#000000',
  },
}
SCSS
$custom: #a151d6;
$custom-light: #c086e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a151d6",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 276.09,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.2015,
    "h": 309.3
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#A151D6
secondary
#BCDCA7
accent
#E54383
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A151D6

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

Preview Lab → · Contrast checker → · Palette generator →

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