#A251CA#A251CA

#A251CA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.189 H 312.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A251CA
RGBrgb(162, 81, 202)
HSLhsl(280, 53%, 55%)
HSVhsv(280, 60%, 79%)
CMYKcmyk(19.8%, 59.9%, 0%, 20.8%)
CIE-LABlab(49.29, 53.24, -49.37)
CIE-LCHlch(49.29, 72.61, 317.16°)
OKLaboklab(58.56% 0.1289 -0.1386)
OKLCHoklch(58.56% 0.189 312.9)
XYZxyz(28.5015, 17.8313, 57.8060)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251CA #79CA51
analogous
#6551CA #A251CA #CA51B6
triadic
#A251CA #CAA251 #51CAA2
tetradic
#A251CA #CA6551 #79CA51 #51B6CA
square
#A251CA #CA6551 #79CA51 #51B6CA
split-complementary
#A251CA #B6CA51 #51CA65
monochromatic
#5F257B #8334AA #A251CA #BB80D8 #D4AFE7

Accessibility & contrast

On white

4.60
#A251CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A251CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251CA#FFFFFF#000000##FFFFFF
##A251CA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#9E6786
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a251ca;
/* rgb */ color: rgb(162, 81, 202);
/* oklch */ color: oklch(58.6% 0.189 312.9);
Tailwind
colors: {
  custom: {
    50: '#c186db',
    500: '#a251ca',
    950: '#000000',
  },
}
SCSS
$custom: #a251ca;
$custom-light: #c186db;
$custom-dark: #000000;
JSON
{
  "hex": "#a251ca",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 280.165,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.1893,
    "h": 312.9
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#A251CA
secondary
#B3D5A2
accent
#DD4B7B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A251CA

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

Preview Lab → · Contrast checker → · Palette generator →

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