#A451D8#A451D8

#A451D8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.205 H 309.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A451D8
RGBrgb(164, 81, 216)
HSLhsl(277, 63%, 58%)
HSVhsv(277, 63%, 85%)
CMYKcmyk(24.1%, 62.5%, 0%, 15.3%)
CIE-LABlab(50.38, 56.75, -55.63)
CIE-LCHlch(50.38, 79.47, 315.57°)
OKLaboklab(59.67% 0.1312 -0.1569)
OKLCHoklch(59.67% 0.205 309.9)
XYZxyz(30.6445, 18.7358, 66.9545)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451D8 #85D851
analogous
#6051D8 #A451D8 #D851C8
triadic
#A451D8 #D8A451 #51D8A4
tetradic
#A451D8 #D86051 #85D851 #51C8D8
square
#A451D8 #D86051 #85D851 #51C8D8
split-complementary
#A451D8 #C8D851 #51D860
monochromatic
#64208F #872BC1 #A451D8 #BE83E3 #D8B5EE

Accessibility & contrast

On white

4.42
#A451D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A451D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451D8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451D8#FFFFFF#000000##000000
##A451D81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0874DC
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#9D6C8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a451d8;
/* rgb */ color: rgb(164, 81, 216);
/* oklch */ color: oklch(59.7% 0.205 309.9);
Tailwind
colors: {
  custom: {
    50: '#c386e5',
    500: '#a451d8',
    950: '#000000',
  },
}
SCSS
$custom: #a451d8;
$custom-light: #c386e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a451d8",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 276.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.20453,
    "h": 309.9
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#A451D8
secondary
#BCDDA8
accent
#E64181
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A451D8

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

Preview Lab → · Contrast checker → · Palette generator →

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