#A151CC#A151CC

#A151CC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.6% C 0.191 H 311.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A151CC
RGBrgb(161, 81, 204)
HSLhsl(279, 55%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(21.1%, 60.3%, 0%, 20%)
CIE-LABlab(49.28, 53.43, -50.55)
CIE-LCHlch(49.28, 73.55, 316.59°)
OKLaboklab(58.57% 0.1277 -0.1421)
OKLCHoklch(58.57% 0.191 311.9)
XYZxyz(28.5375, 17.8223, 59.0518)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151CC #7CCC51
analogous
#6351CC #A151CC #CC51BA
triadic
#A151CC #CCA151 #51CCA1
tetradic
#A151CC #CC6351 #7CCC51 #51BACC
square
#A151CC #CC6351 #7CCC51 #51BACC
split-complementary
#A151CC #BACC51 #51CC63
monochromatic
#5F257E #8233AD #A151CC #BB80DA #D4B0E8

Accessibility & contrast

On white

4.60
#A151CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A151CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A151CC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151CC#FFFFFF#000000##FFFFFF
##A151CC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#9C6887
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a151cc;
/* rgb */ color: rgb(161, 81, 204);
/* oklch */ color: oklch(58.6% 0.191 311.9);
Tailwind
colors: {
  custom: {
    50: '#c086dc',
    500: '#a151cc',
    950: '#000000',
  },
}
SCSS
$custom: #a151cc;
$custom-light: #c086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a151cc",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 279.024,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.19102,
    "h": 311.9
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

primary
#A151CC
secondary
#B5D6A3
accent
#DE4A7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151CC

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

Preview Lab → · Contrast checker → · Palette generator →

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