#A051CD#A051CD

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

Color values

HEX#A051CD
RGBrgb(160, 81, 205)
HSLhsl(278, 55%, 56%)
HSVhsv(278, 60%, 80%)
CMYKcmyk(22%, 60.5%, 0%, 19.6%)
CIE-LABlab(49.21, 53.41, -51.24)
CIE-LCHlch(49.21, 74.01, 316.19°)
OKLaboklab(58.51% 0.1264 -0.1441)
OKLCHoklch(58.51% 0.192 311.3)
XYZxyz(28.4570, 17.7669, 59.6760)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051CD #7ECD51
analogous
#6251CD #A051CD #CD51BC
triadic
#A051CD #CDA051 #51CDA0
tetradic
#A051CD #CD6251 #7ECD51 #51BCCD
square
#A051CD #CD6251 #7ECD51 #51BCCD
split-complementary
#A051CD #BCCD51 #51CD62
monochromatic
#5E257F #8132AF #A051CD #BA81DB #D4B0E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A051CD#FFFFFF#000000##FFFFFF
##A051CD1.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)
#2171D1
Deuteranopia (green-blind)
#4676CA
Tritanopia (blue-blind)
#9B6887
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a051cd;
/* rgb */ color: rgb(160, 81, 205);
/* oklch */ color: oklch(58.5% 0.192 311.3);
Tailwind
colors: {
  custom: {
    50: '#bf86dd',
    500: '#a051cd',
    950: '#000000',
  },
}
SCSS
$custom: #a051cd;
$custom-light: #bf86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a051cd",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 278.226,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.19172,
    "h": 311.3
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#A051CD
secondary
#B6D7A3
accent
#DF497F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A051CD

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

Preview Lab → · Contrast checker → · Palette generator →

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