#A151D5#A151D5

#A151D5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.200 H 309.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A151D5
RGBrgb(161, 81, 213)
HSLhsl(276, 61%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(24.4%, 62%, 0%, 16.5%)
CIE-LABlab(49.82, 55.40, -54.84)
CIE-LCHlch(49.82, 77.95, 315.29°)
OKLaboklab(59.13% 0.1275 -0.1546)
OKLCHoklch(59.13% 0.2 309.5)
XYZxyz(29.6483, 18.2666, 64.9018)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151D5 #85D551
analogous
#5F51D5 #A151D5 #D551C7
triadic
#A151D5 #D5A151 #51D5A1
tetradic
#A151D5 #D55F51 #85D551 #51C7D5
square
#A151D5 #D55F51 #85D551 #51C7D5
split-complementary
#A151D5 #C7D551 #51D55F
monochromatic
#61218A #832DBC #A151D5 #BC82E1 #D6B4ED

Accessibility & contrast

On white

4.51
#A151D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A151D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151D5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151D5#FFFFFF#000000##000000
##A151D51.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E73D9
Deuteranopia (green-blind)
#3F78D2
Tritanopia (blue-blind)
#9A6B8C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a151d5;
/* rgb */ color: rgb(161, 81, 213);
/* oklch */ color: oklch(59.1% 0.200 309.5);
Tailwind
colors: {
  custom: {
    50: '#c086e3',
    500: '#a151d5',
    950: '#000000',
  },
}
SCSS
$custom: #a151d5;
$custom-light: #c086e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a151d5",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 276.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.20046,
    "h": 309.5
  },
  "luminance": 0.18266
}

Semantic roles & 50–950 ramp

primary
#A151D5
secondary
#BBDBA6
accent
#E44483
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151D5

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

Preview Lab → · Contrast checker → · Palette generator →

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