#A451EB#A451EB

#A451EB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.224 H 305.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A451EB
RGBrgb(164, 81, 235)
HSLhsl(272, 79%, 62%)
HSVhsv(272, 66%, 92%)
CMYKcmyk(30.2%, 65.5%, 0%, 7.8%)
CIE-LABlab(51.58, 60.98, -64.43)
CIE-LCHlch(51.58, 88.72, 313.42°)
OKLaboklab(60.93% 0.13 -0.1827)
OKLCHoklch(60.93% 0.224 305.4)
XYZxyz(33.2444, 19.7758, 80.6469)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451EB #98EB51
analogous
#5751EB #A451EB #EB51E5
triadic
#A451EB #EBA451 #51EBA4
tetradic
#A451EB #EB5751 #98EB51 #51E5EB
square
#A451EB #EB5751 #98EB51 #51E5EB
split-complementary
#A451EB #E5EB51 #51EB57
monochromatic
#6714AE #871AE5 #A451EB #C188F1 #DDBFF8

Accessibility & contrast

On white

4.24
#A451EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A451EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451EB#FFFFFF#000000##000000
##A451EB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#977397
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a451eb;
/* rgb */ color: rgb(164, 81, 235);
/* oklch */ color: oklch(60.9% 0.224 305.4);
Tailwind
colors: {
  custom: {
    50: '#c487f2',
    500: '#a451eb',
    950: '#000000',
  },
}
SCSS
$custom: #a451eb;
$custom-light: #c487f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a451eb",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 272.338,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.22424,
    "h": 305.4
  },
  "luminance": 0.19776
}

Semantic roles & 50–950 ramp

primary
#A451EB
secondary
#CAE8B0
accent
#DC0A6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A451EB

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

Preview Lab → · Contrast checker → · Palette generator →

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