#A051CB#A051CB

#A051CB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.4% C 0.190 H 311.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A051CB
RGBrgb(160, 81, 203)
HSLhsl(279, 54%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(21.2%, 60.1%, 0%, 20.4%)
CIE-LABlab(49.09, 52.97, -50.28)
CIE-LCHlch(49.09, 73.03, 316.49°)
OKLaboklab(58.39% 0.1264 -0.1413)
OKLCHoklch(58.39% 0.19 311.8)
XYZxyz(28.2172, 17.6709, 58.4127)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051CB #7CCB51
analogous
#6351CB #A051CB #CB51B9
triadic
#A051CB #CBA051 #51CBA0
tetradic
#A051CB #CB6351 #7CCB51 #51B9CB
square
#A051CB #CB6351 #7CCB51 #51B9CB
split-complementary
#A051CB #B9CB51 #51CB63
monochromatic
#5E257C #8133AC #A051CB #BA80D9 #D3AFE7

Accessibility & contrast

On white

4.63
#A051CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A051CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A051CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051CB#FFFFFF#000000##FFFFFF
##A051CB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#9B6886
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a051cb;
/* rgb */ color: rgb(160, 81, 203);
/* oklch */ color: oklch(58.4% 0.190 311.8);
Tailwind
colors: {
  custom: {
    50: '#bf86db',
    500: '#a051cb',
    950: '#000000',
  },
}
SCSS
$custom: #a051cb;
$custom-light: #bf86db;
$custom-dark: #000000;
JSON
{
  "hex": "#a051cb",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 278.852,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58385,
    "c": 0.18961,
    "h": 311.8
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A051CB

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

Preview Lab → · Contrast checker → · Palette generator →

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