#A151CD#A151CD

#A151CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.192 H 311.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A151CD
RGBrgb(161, 81, 205)
HSLhsl(279, 55%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(21.5%, 60.5%, 0%, 19.6%)
CIE-LABlab(49.34, 53.65, -51.03)
CIE-LCHlch(49.34, 74.04, 316.43°)
OKLaboklab(58.63% 0.1277 -0.1435)
OKLCHoklch(58.63% 0.192 311.7)
XYZxyz(28.6578, 17.8704, 59.6854)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151CD #7DCD51
analogous
#6351CD #A151CD #CD51BB
triadic
#A151CD #CDA151 #51CDA1
tetradic
#A151CD #CD6351 #7DCD51 #51BBCD
square
#A151CD #CD6351 #7DCD51 #51BBCD
split-complementary
#A151CD #BBCD51 #51CD63
monochromatic
#5F257F #8232AF #A151CD #BB81DB #D4B0E8

Accessibility & contrast

On white

4.59
#A151CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A151CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A151CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151CD#FFFFFF#000000##FFFFFF
##A151CD1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#9C6887
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a151cd;
/* rgb */ color: rgb(161, 81, 205);
/* oklch */ color: oklch(58.6% 0.192 311.7);
Tailwind
colors: {
  custom: {
    50: '#c086dd',
    500: '#a151cd',
    950: '#000000',
  },
}
SCSS
$custom: #a151cd;
$custom-light: #c086dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a151cd",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 278.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.19206,
    "h": 311.7
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#A151CD
secondary
#B5D7A3
accent
#DF497E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151CD

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

Preview Lab → · Contrast checker → · Palette generator →

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