#A451EC#A451EC

#A451EC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.225 H 305.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A451EC
RGBrgb(164, 81, 236)
HSLhsl(272, 80%, 62%)
HSVhsv(272, 66%, 93%)
CMYKcmyk(30.5%, 65.7%, 0%, 7.5%)
CIE-LABlab(51.65, 61.21, -64.89)
CIE-LCHlch(51.65, 89.20, 313.33°)
OKLaboklab(61% 0.1299 -0.1841)
OKLCHoklch(61% 0.225 305.2)
XYZxyz(33.3892, 19.8337, 81.4099)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451EC #99EC51
analogous
#5751EC #A451EC #EC51E7
triadic
#A451EC #ECA451 #51ECA4
tetradic
#A451EC #EC5751 #99EC51 #51E7EC
square
#A451EC #EC5751 #99EC51 #51E7EC
split-complementary
#A451EC #E7EC51 #51EC57
monochromatic
#6713AF #871AE6 #A451EC #C188F2 #DEBFF8

Accessibility & contrast

On white

4.23
#A451EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A451EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451EC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451EC#FFFFFF#000000##000000
##A451EC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#977398
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a451ec;
/* rgb */ color: rgb(164, 81, 236);
/* oklch */ color: oklch(61.0% 0.225 305.2);
Tailwind
colors: {
  custom: {
    50: '#c487f3',
    500: '#a451ec',
    950: '#000000',
  },
}
SCSS
$custom: #a451ec;
$custom-light: #c487f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a451ec",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 272.129,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60996,
    "c": 0.22527,
    "h": 305.2
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#A451EC
secondary
#CAE9B0
accent
#DD096B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A451EC

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

Preview Lab → · Contrast checker → · Palette generator →

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