#A251CE#A251CE

#A251CE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.8% C 0.193 H 311.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A251CE
RGBrgb(162, 81, 206)
HSLhsl(279, 56%, 56%)
HSVhsv(279, 61%, 81%)
CMYKcmyk(21.4%, 60.7%, 0%, 19.2%)
CIE-LABlab(49.52, 54.10, -51.30)
CIE-LCHlch(49.52, 74.56, 316.52°)
OKLaboklab(58.81% 0.1289 -0.1442)
OKLCHoklch(58.81% 0.193 311.8)
XYZxyz(28.9813, 18.0232, 60.3327)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251CE #7DCE51
analogous
#6451CE #A251CE #CE51BC
triadic
#A251CE #CEA251 #51CEA2
tetradic
#A251CE #CE6451 #7DCE51 #51BCCE
square
#A251CE #CE6451 #7DCE51 #51BCCE
split-complementary
#A251CE #BCCE51 #51CE64
monochromatic
#602480 #8432B0 #A251CE #BC81DB #D5B1E9

Accessibility & contrast

On white

4.56
#A251CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A251CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251CE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251CE#FFFFFF#000000##000000
##A251CE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#9D6888
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a251ce;
/* rgb */ color: rgb(162, 81, 206);
/* oklch */ color: oklch(58.8% 0.193 311.8);
Tailwind
colors: {
  custom: {
    50: '#c186dd',
    500: '#a251ce',
    950: '#000000',
  },
}
SCSS
$custom: #a251ce;
$custom-light: #c186dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a251ce",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 278.88,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58809,
    "c": 0.19346,
    "h": 311.8
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#A251CE
secondary
#B6D7A4
accent
#DF487E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A251CE

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

Preview Lab → · Contrast checker → · Palette generator →

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