#A251CD#A251CD

#A251CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.192 H 312.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A251CD
RGBrgb(162, 81, 205)
HSLhsl(279, 55%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(21%, 60.5%, 0%, 19.6%)
CIE-LABlab(49.47, 53.89, -50.82)
CIE-LCHlch(49.47, 74.07, 316.68°)
OKLaboklab(58.75% 0.1289 -0.1428)
OKLCHoklch(58.75% 0.192 312.1)
XYZxyz(28.8602, 17.9747, 59.6949)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251CD #7CCD51
analogous
#6451CD #A251CD #CD51BA
triadic
#A251CD #CDA251 #51CDA2
tetradic
#A251CD #CD6451 #7CCD51 #51BACD
square
#A251CD #CD6451 #7CCD51 #51BACD
split-complementary
#A251CD #BACD51 #51CD64
monochromatic
#60257F #8332AF #A251CD #BB81DB #D5B0E8

Accessibility & contrast

On white

4.57
#A251CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A251CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251CD#FFFFFF#000000##000000
##A251CD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2371D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#9D6887
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a251cd;
/* rgb */ color: rgb(162, 81, 205);
/* oklch */ color: oklch(58.7% 0.192 312.1);
Tailwind
colors: {
  custom: {
    50: '#c186dd',
    500: '#a251cd',
    950: '#000000',
  },
}
SCSS
$custom: #a251cd;
$custom-light: #c186dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a251cd",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 279.194,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.19242,
    "h": 312.1
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#A251CD
secondary
#B5D7A3
accent
#DF497D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A251CD

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

Preview Lab → · Contrast checker → · Palette generator →

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