#A451D4#A451D4

#A451D4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.200 H 311.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A451D4
RGBrgb(164, 81, 212)
HSLhsl(278, 60%, 57%)
HSVhsv(278, 62%, 83%)
CMYKcmyk(22.6%, 61.8%, 0%, 16.9%)
CIE-LABlab(50.13, 55.87, -53.74)
CIE-LCHlch(50.13, 77.52, 316.12°)
OKLaboklab(59.42% 0.1314 -0.1513)
OKLCHoklch(59.42% 0.2 311)
XYZxyz(30.1337, 18.5315, 64.2641)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451D4 #81D451
analogous
#6251D4 #A451D4 #D451C3
triadic
#A451D4 #D4A451 #51D4A4
tetradic
#A451D4 #D46251 #81D451 #51C3D4
square
#A451D4 #D46251 #81D451 #51C3D4
split-complementary
#A451D4 #C3D451 #51D462
monochromatic
#632289 #872EBA #A451D4 #BE82E0 #D7B3EC

Accessibility & contrast

On white

4.46
#A451D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A451D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451D4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451D4#FFFFFF#000000##000000
##A451D41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1673D8
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#9E6A8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a451d4;
/* rgb */ color: rgb(164, 81, 212);
/* oklch */ color: oklch(59.4% 0.200 311.0);
Tailwind
colors: {
  custom: {
    50: '#c286e2',
    500: '#a451d4',
    950: '#000000',
  },
}
SCSS
$custom: #a451d4;
$custom-light: #c286e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a451d4",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 278.015,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.20038,
    "h": 311
  },
  "luminance": 0.18531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A451D4

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

Preview Lab → · Contrast checker → · Palette generator →

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