#A451D6#A451D6

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

Color values

HEX#A451D6
RGBrgb(164, 81, 214)
HSLhsl(277, 62%, 58%)
HSVhsv(277, 62%, 84%)
CMYKcmyk(23.4%, 62.1%, 0%, 16.1%)
CIE-LABlab(50.26, 56.31, -54.69)
CIE-LCHlch(50.26, 78.50, 315.84°)
OKLaboklab(59.55% 0.1313 -0.1541)
OKLCHoklch(59.55% 0.202 310.4)
XYZxyz(30.3876, 18.6330, 65.6010)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451D6 #83D651
analogous
#6251D6 #A451D6 #D651C5
triadic
#A451D6 #D6A451 #51D6A4
tetradic
#A451D6 #D66251 #83D651 #51C5D6
square
#A451D6 #D66251 #83D651 #51C5D6
split-complementary
#A451D6 #C5D651 #51D662
monochromatic
#64218C #872DBD #A451D6 #BE83E2 #D8B4ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A451D6#FFFFFF#000000##000000
##A451D61.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)
#1074DA
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#9E6B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a451d6;
/* rgb */ color: rgb(164, 81, 214);
/* oklch */ color: oklch(59.5% 0.202 310.4);
Tailwind
colors: {
  custom: {
    50: '#c386e3',
    500: '#a451d6',
    950: '#000000',
  },
}
SCSS
$custom: #a451d6;
$custom-light: #c386e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a451d6",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 277.444,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.20246,
    "h": 310.4
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#A451D6
secondary
#BBDCA7
accent
#E54380
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A451D6

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

Preview Lab → · Contrast checker → · Palette generator →

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