#A251DD#A251DD

#A251DD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.209 H 307.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A251DD
RGBrgb(162, 81, 221)
HSLhsl(275, 67%, 59%)
HSVhsv(275, 63%, 87%)
CMYKcmyk(26.7%, 63.3%, 0%, 13.3%)
CIE-LABlab(50.44, 57.40, -58.39)
CIE-LCHlch(50.44, 81.88, 314.51°)
OKLaboklab(59.76% 0.1285 -0.165)
OKLCHoklch(59.76% 0.209 307.9)
XYZxyz(30.8912, 18.7871, 70.3915)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251DD #8CDD51
analogous
#5C51DD #A251DD #DD51D2
triadic
#A251DD #DDA251 #51DDA2
tetradic
#A251DD #DD5C51 #8CDD51 #51D2DD
square
#A251DD #DD5C51 #8CDD51 #51D2DD
split-complementary
#A251DD #D2DD51 #51DD5C
monochromatic
#631D96 #8527C9 #A251DD #BD84E7 #D9B7F1

Accessibility & contrast

On white

4.41
#A251DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A251DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251DD#FFFFFF#000000##000000
##A251DD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#996E90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a251dd;
/* rgb */ color: rgb(162, 81, 221);
/* oklch */ color: oklch(59.8% 0.209 307.9);
Tailwind
colors: {
  custom: {
    50: '#c286e8',
    500: '#a251dd',
    950: '#000000',
  },
}
SCSS
$custom: #a251dd;
$custom-light: #c286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a251dd",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 274.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59763,
    "c": 0.20914,
    "h": 307.9
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#A251DD
secondary
#C1E0AA
accent
#EA3E86
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A251DD

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

Preview Lab → · Contrast checker → · Palette generator →

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