#A251D9#A251D9

#A251D9 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.205 H 308.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A251D9
RGBrgb(162, 81, 217)
HSLhsl(276, 64%, 58%)
HSVhsv(276, 63%, 85%)
CMYKcmyk(25.3%, 62.7%, 0%, 14.9%)
CIE-LABlab(50.19, 56.51, -56.52)
CIE-LCHlch(50.19, 79.92, 315.00°)
OKLaboklab(59.5% 0.1287 -0.1595)
OKLCHoklch(59.5% 0.205 308.9)
XYZxyz(30.3646, 18.5765, 67.6182)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251D9 #88D951
analogous
#5E51D9 #A251D9 #D951CC
triadic
#A251D9 #D9A251 #51D9A2
tetradic
#A251D9 #D95E51 #88D951 #51CCD9
square
#A251D9 #D95E51 #88D951 #51CCD9
split-complementary
#A251D9 #CCD951 #51D95E
monochromatic
#631F90 #852AC2 #A251D9 #BD83E4 #D8B5EF

Accessibility & contrast

On white

4.45
#A251D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A251D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251D9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251D9#FFFFFF#000000##000000
##A251D91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#3C78D6
Tritanopia (blue-blind)
#9A6C8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a251d9;
/* rgb */ color: rgb(162, 81, 217);
/* oklch */ color: oklch(59.5% 0.205 308.9);
Tailwind
colors: {
  custom: {
    50: '#c186e5',
    500: '#a251d9',
    950: '#000000',
  },
}
SCSS
$custom: #a251d9;
$custom-light: #c186e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a251d9",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 275.735,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.20495,
    "h": 308.9
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A251D9

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

Preview Lab → · Contrast checker → · Palette generator →

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