#A151CE#A151CE

#A151CE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.7% C 0.193 H 311.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A151CE
RGBrgb(161, 81, 206)
HSLhsl(278, 56%, 56%)
HSVhsv(278, 61%, 81%)
CMYKcmyk(21.8%, 60.7%, 0%, 19.2%)
CIE-LABlab(49.40, 53.86, -51.51)
CIE-LCHlch(49.40, 74.53, 316.28°)
OKLaboklab(58.69% 0.1277 -0.1449)
OKLCHoklch(58.69% 0.193 311.4)
XYZxyz(28.7789, 17.9188, 60.3232)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151CE #7ECE51
analogous
#6351CE #A151CE #CE51BD
triadic
#A151CE #CEA151 #51CEA1
tetradic
#A151CE #CE6351 #7ECE51 #51BDCE
square
#A151CE #CE6351 #7ECE51 #51BDCE
split-complementary
#A151CE #BDCE51 #51CE63
monochromatic
#5F2480 #8332B0 #A151CE #BB81DB #D5B1E9

Accessibility & contrast

On white

4.58
#A151CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A151CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151CE
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151CE#FFFFFF#000000##000000
##A151CE1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2072D2
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#9C6888
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a151ce;
/* rgb */ color: rgb(161, 81, 206);
/* oklch */ color: oklch(58.7% 0.193 311.4);
Tailwind
colors: {
  custom: {
    50: '#c086dd',
    500: '#a151ce',
    950: '#000000',
  },
}
SCSS
$custom: #a151ce;
$custom-light: #c086dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a151ce",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 278.4,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.19312,
    "h": 311.4
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#A151CE
secondary
#B6D7A4
accent
#DF487F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151CE

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

Preview Lab → · Contrast checker → · Palette generator →

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