#A451D5#A451D5

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

Color values

HEX#A451D5
RGBrgb(164, 81, 213)
HSLhsl(278, 61%, 58%)
HSVhsv(278, 62%, 84%)
CMYKcmyk(23%, 62%, 0%, 16.5%)
CIE-LABlab(50.19, 56.09, -54.21)
CIE-LCHlch(50.19, 78.01, 315.98°)
OKLaboklab(59.48% 0.1313 -0.1527)
OKLCHoklch(59.48% 0.201 310.7)
XYZxyz(30.2603, 18.5821, 64.9305)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451D5 #82D551
analogous
#6251D5 #A451D5 #D551C4
triadic
#A451D5 #D5A451 #51D5A4
tetradic
#A451D5 #D56251 #82D551 #51C4D5
square
#A451D5 #D56251 #82D551 #51C4D5
split-complementary
#A451D5 #C4D551 #51D562
monochromatic
#63218A #872DBC #A451D5 #BE82E1 #D8B4ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A451D5#FFFFFF#000000##000000
##A451D51.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)
#1474D9
Deuteranopia (green-blind)
#4379D2
Tritanopia (blue-blind)
#9E6B8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a451d5;
/* rgb */ color: rgb(164, 81, 213);
/* oklch */ color: oklch(59.5% 0.201 310.7);
Tailwind
colors: {
  custom: {
    50: '#c386e3',
    500: '#a451d5',
    950: '#000000',
  },
}
SCSS
$custom: #a451d5;
$custom-light: #c386e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a451d5",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 277.727,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.20142,
    "h": 310.7
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#A451D5
secondary
#BADBA6
accent
#E4447F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A451D5

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

Preview Lab → · Contrast checker → · Palette generator →

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