#A451E7#A451E7

#A451E7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.7% C 0.220 H 306.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A451E7
RGBrgb(164, 81, 231)
HSLhsl(273, 76%, 61%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(29%, 64.9%, 0%, 9.4%)
CIE-LABlab(51.32, 60.08, -62.61)
CIE-LCHlch(51.32, 86.77, 313.82°)
OKLaboklab(60.66% 0.1303 -0.1773)
OKLCHoklch(60.66% 0.22 306.3)
XYZxyz(32.6730, 19.5472, 77.6376)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451E7 #94E751
analogous
#5951E7 #A451E7 #E751DF
triadic
#A451E7 #E7A451 #51E7A4
tetradic
#A451E7 #E75951 #94E751 #51DFE7
square
#A451E7 #E75951 #94E751 #51DFE7
split-complementary
#A451E7 #DFE751 #51E759
monochromatic
#6617A7 #881EDC #A451E7 #C087EE #DCBDF6

Accessibility & contrast

On white

4.28
#A451E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A451E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451E7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451E7#FFFFFF#000000##000000
##A451E71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#2C7BE4
Tritanopia (blue-blind)
#997195
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a451e7;
/* rgb */ color: rgb(164, 81, 231);
/* oklch */ color: oklch(60.7% 0.220 306.3);
Tailwind
colors: {
  custom: {
    50: '#c487ef',
    500: '#a451e7',
    950: '#000000',
  },
}
SCSS
$custom: #a451e7;
$custom-light: #c487ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a451e7",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 273.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.22009,
    "h": 306.3
  },
  "luminance": 0.19547
}

Semantic roles & 50–950 ramp

primary
#A451E7
secondary
#C7E6AE
accent
#D80E68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A451E7

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

Preview Lab → · Contrast checker → · Palette generator →

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