#A151D9#A151D9

#A151D9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.205 H 308.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A151D9
RGBrgb(161, 81, 217)
HSLhsl(275, 64%, 58%)
HSVhsv(275, 63%, 85%)
CMYKcmyk(25.8%, 62.7%, 0%, 14.9%)
CIE-LABlab(50.06, 56.29, -56.72)
CIE-LCHlch(50.06, 79.91, 314.78°)
OKLaboklab(59.39% 0.1274 -0.1602)
OKLCHoklch(59.39% 0.205 308.5)
XYZxyz(30.1622, 18.4722, 67.6087)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151D9 #89D951
analogous
#5D51D9 #A151D9 #D951CD
triadic
#A151D9 #D9A151 #51D9A1
tetradic
#A151D9 #D95D51 #89D951 #51CDD9
square
#A151D9 #D95D51 #89D951 #51CDD9
split-complementary
#A151D9 #CDD951 #51D95D
monochromatic
#621F90 #842AC2 #A151D9 #BC83E4 #D7B5EF

Accessibility & contrast

On white

4.47
#A151D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A151D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151D9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151D9#FFFFFF#000000##000000
##A151D91.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#996C8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a151d9;
/* rgb */ color: rgb(161, 81, 217);
/* oklch */ color: oklch(59.4% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#c186e5',
    500: '#a151d9',
    950: '#000000',
  },
}
SCSS
$custom: #a151d9;
$custom-light: #c186e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a151d9",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 275.294,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.20465,
    "h": 308.5
  },
  "luminance": 0.18472
}

Semantic roles & 50–950 ramp

primary
#A151D9
secondary
#BEDEA8
accent
#E74185
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A151D9

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

Preview Lab → · Contrast checker → · Palette generator →

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