#A051CF#A051CF

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

Color values

HEX#A051CF
RGBrgb(160, 81, 207)
HSLhsl(278, 57%, 56%)
HSVhsv(278, 61%, 81%)
CMYKcmyk(22.7%, 60.9%, 0%, 18.8%)
CIE-LABlab(49.33, 53.84, -52.20)
CIE-LCHlch(49.33, 74.99, 315.89°)
OKLaboklab(58.63% 0.1264 -0.1469)
OKLCHoklch(58.63% 0.194 310.7)
XYZxyz(28.7000, 17.8640, 60.9556)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051CF #80CF51
analogous
#6151CF #A051CF #CF51BF
triadic
#A051CF #CFA051 #51CFA0
tetradic
#A051CF #CF6151 #80CF51 #51BFCF
square
#A051CF #CF6151 #80CF51 #51BFCF
split-complementary
#A051CF #BFCF51 #51CF61
monochromatic
#5F2482 #8231B2 #A051CF #BA81DC #D4B1E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A051CF#FFFFFF#000000##FFFFFF
##A051CF1.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)
#1D72D3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#9A6988
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a051cf;
/* rgb */ color: rgb(160, 81, 207);
/* oklch */ color: oklch(58.6% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#bf86de',
    500: '#a051cf',
    950: '#000000',
  },
}
SCSS
$custom: #a051cf;
$custom-light: #bf86de;
$custom-dark: #000000;
JSON
{
  "hex": "#a051cf",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 277.619,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.19382,
    "h": 310.7
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#A051CF
secondary
#B7D8A4
accent
#E04881
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A051CF

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

Preview Lab → · Contrast checker → · Palette generator →

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