#A151D0#A151D0

#A151D0 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.8% C 0.195 H 310.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A151D0
RGBrgb(161, 81, 208)
HSLhsl(278, 57%, 57%)
HSVhsv(278, 61%, 82%)
CMYKcmyk(22.6%, 61.1%, 0%, 18.4%)
CIE-LABlab(49.52, 54.30, -52.46)
CIE-LCHlch(49.52, 75.50, 315.99°)
OKLaboklab(58.81% 0.1277 -0.1477)
OKLCHoklch(58.81% 0.195 310.8)
XYZxyz(29.0234, 18.0166, 61.6109)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151D0 #80D051
analogous
#6251D0 #A151D0 #D051C0
triadic
#A151D0 #D0A151 #51D0A1
tetradic
#A151D0 #D06251 #80D051 #51C0D0
square
#A151D0 #D06251 #80D051 #51C0D0
split-complementary
#A151D0 #C0D051 #51D062
monochromatic
#602383 #8330B3 #A151D0 #BB81DD #D5B1EA

Accessibility & contrast

On white

4.56
#A151D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A151D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151D0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151D0#FFFFFF#000000##000000
##A151D01.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C72D4
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#9B6989
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a151d0;
/* rgb */ color: rgb(161, 81, 208);
/* oklch */ color: oklch(58.8% 0.195 310.8);
Tailwind
colors: {
  custom: {
    50: '#c086df',
    500: '#a151d0',
    950: '#000000',
  },
}
SCSS
$custom: #a151d0;
$custom-light: #c086df;
$custom-dark: #000000;
JSON
{
  "hex": "#a151d0",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 277.795,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.19521,
    "h": 310.8
  },
  "luminance": 0.18016
}

Semantic roles & 50–950 ramp

primary
#A151D0
secondary
#B8D8A4
accent
#E14780
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151D0

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

Preview Lab → · Contrast checker → · Palette generator →

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