#A151DA#A151DA

#A151DA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.206 H 308.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A151DA
RGBrgb(161, 81, 218)
HSLhsl(275, 65%, 59%)
HSVhsv(275, 63%, 85%)
CMYKcmyk(26.1%, 62.8%, 0%, 14.5%)
CIE-LABlab(50.13, 56.51, -57.19)
CIE-LCHlch(50.13, 80.40, 314.66°)
OKLaboklab(59.45% 0.1273 -0.1615)
OKLCHoklch(59.45% 0.206 308.2)
XYZxyz(30.2927, 18.5243, 68.2958)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151DA #8ADA51
analogous
#5C51DA #A151DA #DA51CF
triadic
#A151DA #DAA151 #51DAA1
tetradic
#A151DA #DA5C51 #8ADA51 #51CFDA
square
#A151DA #DA5C51 #8ADA51 #51CFDA
split-complementary
#A151DA #CFDA51 #51DA5C
monochromatic
#621F92 #842AC4 #A151DA #BC83E5 #D8B6EF

Accessibility & contrast

On white

4.46
#A151DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A151DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151DA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151DA#FFFFFF#000000##000000
##A151DA1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#986D8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a151da;
/* rgb */ color: rgb(161, 81, 218);
/* oklch */ color: oklch(59.5% 0.206 308.2);
Tailwind
colors: {
  custom: {
    50: '#c186e6',
    500: '#a151da',
    950: '#000000',
  },
}
SCSS
$custom: #a151da;
$custom-light: #c186e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a151da",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 275.036,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.2057,
    "h": 308.2
  },
  "luminance": 0.18524
}

Semantic roles & 50–950 ramp

primary
#A151DA
secondary
#BFDEA8
accent
#E84086
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A151DA

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

Preview Lab → · Contrast checker → · Palette generator →

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