#A251DA#A251DA

#A251DA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.206 H 308.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A251DA
RGBrgb(162, 81, 218)
HSLhsl(275, 65%, 59%)
HSVhsv(275, 63%, 85%)
CMYKcmyk(25.7%, 62.8%, 0%, 14.5%)
CIE-LABlab(50.25, 56.73, -56.99)
CIE-LCHlch(50.25, 80.41, 314.87°)
OKLaboklab(59.57% 0.1286 -0.1609)
OKLCHoklch(59.57% 0.206 308.6)
XYZxyz(30.4951, 18.6287, 68.3053)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251DA #89DA51
analogous
#5D51DA #A251DA #DA51CE
triadic
#A251DA #DAA251 #51DAA2
tetradic
#A251DA #DA5D51 #89DA51 #51CEDA
square
#A251DA #DA5D51 #89DA51 #51CEDA
split-complementary
#A251DA #CEDA51 #51DA5D
monochromatic
#631F92 #852AC4 #A251DA #BD83E5 #D8B6EF

Accessibility & contrast

On white

4.44
#A251DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A251DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251DA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251DA#FFFFFF#000000##000000
##A251DA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#9A6D8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a251da;
/* rgb */ color: rgb(162, 81, 218);
/* oklch */ color: oklch(59.6% 0.206 308.6);
Tailwind
colors: {
  custom: {
    50: '#c186e6',
    500: '#a251da',
    950: '#000000',
  },
}
SCSS
$custom: #a251da;
$custom-light: #c186e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a251da",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 275.474,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.206,
    "h": 308.6
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#A251DA
secondary
#BEDEA8
accent
#E84085
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A251DA

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

Preview Lab → · Contrast checker → · Palette generator →

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