#A151DD#A151DD

#A151DD is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.209 H 307.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A151DD
RGBrgb(161, 81, 221)
HSLhsl(274, 67%, 59%)
HSVhsv(274, 63%, 87%)
CMYKcmyk(27.1%, 63.3%, 0%, 13.3%)
CIE-LABlab(50.31, 57.18, -58.59)
CIE-LCHlch(50.31, 81.87, 314.30°)
OKLaboklab(59.65% 0.1272 -0.1657)
OKLCHoklch(59.65% 0.209 307.5)
XYZxyz(30.6888, 18.6828, 70.3820)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151DD #8DDD51
analogous
#5B51DD #A151DD #DD51D3
triadic
#A151DD #DDA151 #51DDA1
tetradic
#A151DD #DD5B51 #8DDD51 #51D3DD
square
#A151DD #DD5B51 #8DDD51 #51D3DD
split-complementary
#A151DD #D3DD51 #51DD5B
monochromatic
#621D96 #8427C9 #A151DD #BD84E7 #D8B7F1

Accessibility & contrast

On white

4.43
#A151DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A151DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151DD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151DD#FFFFFF#000000##000000
##A151DD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3678DA
Tritanopia (blue-blind)
#986E90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a151dd;
/* rgb */ color: rgb(161, 81, 221);
/* oklch */ color: oklch(59.6% 0.209 307.5);
Tailwind
colors: {
  custom: {
    50: '#c186e8',
    500: '#a151dd',
    950: '#000000',
  },
}
SCSS
$custom: #a151dd;
$custom-light: #c186e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a151dd",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 274.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59647,
    "c": 0.20886,
    "h": 307.5
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#A151DD
secondary
#C1E0AA
accent
#EA3E88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A151DD

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

Preview Lab → · Contrast checker → · Palette generator →

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