#A151CB#A151CB

#A151CB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.190 H 312.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A151CB
RGBrgb(161, 81, 203)
HSLhsl(279, 54%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(20.7%, 60.1%, 0%, 20.4%)
CIE-LABlab(49.22, 53.21, -50.07)
CIE-LCHlch(49.22, 73.06, 316.74°)
OKLaboklab(58.51% 0.1277 -0.1407)
OKLCHoklch(58.51% 0.19 312.2)
XYZxyz(28.4179, 17.7744, 58.4221)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151CB #7BCB51
analogous
#6451CB #A151CB #CB51B8
triadic
#A151CB #CBA151 #51CBA1
tetradic
#A151CB #CB6451 #7BCB51 #51B8CB
square
#A151CB #CB6451 #7BCB51 #51B8CB
split-complementary
#A151CB #B8CB51 #51CB64
monochromatic
#5E257C #8233AC #A151CB #BA80D9 #D4AFE7

Accessibility & contrast

On white

4.61
#A151CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A151CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A151CB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151CB#FFFFFF#000000##FFFFFF
##A151CB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#9C6786
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a151cb;
/* rgb */ color: rgb(161, 81, 203);
/* oklch */ color: oklch(58.5% 0.190 312.2);
Tailwind
colors: {
  custom: {
    50: '#c086db',
    500: '#a151cb',
    950: '#000000',
  },
}
SCSS
$custom: #a151cb;
$custom-light: #c086db;
$custom-dark: #000000;
JSON
{
  "hex": "#a151cb",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 279.344,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.18997,
    "h": 312.2
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#A151CB
secondary
#B4D5A3
accent
#DD4A7D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151CB

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

Preview Lab → · Contrast checker → · Palette generator →

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