#A452EC#A452EC

#A452EC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.224 H 305.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A452EC
RGBrgb(164, 82, 236)
HSLhsl(272, 80%, 62%)
HSVhsv(272, 65%, 93%)
CMYKcmyk(30.5%, 65.3%, 0%, 7.5%)
CIE-LABlab(51.82, 60.74, -64.61)
CIE-LCHlch(51.82, 88.68, 313.23°)
OKLaboklab(61.12% 0.1288 -0.1833)
OKLCHoklch(61.12% 0.224 305.1)
XYZxyz(33.4641, 19.9834, 81.4349)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452EC #9AEC52
analogous
#5752EC #A452EC #EC52E7
triadic
#A452EC #ECA452 #52ECA4
tetradic
#A452EC #EC5752 #9AEC52 #52E7EC
square
#A452EC #EC5752 #9AEC52 #52E7EC
split-complementary
#A452EC #E7EC52 #52EC57
monochromatic
#6713B0 #871BE6 #A452EC #C189F2 #DEC0F8

Accessibility & contrast

On white

4.20
#A452EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A452EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452EC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452EC#FFFFFF#000000##000000
##A452EC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#977498
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a452ec;
/* rgb */ color: rgb(164, 82, 236);
/* oklch */ color: oklch(61.1% 0.224 305.1);
Tailwind
colors: {
  custom: {
    50: '#c488f3',
    500: '#a452ec',
    950: '#000000',
  },
}
SCSS
$custom: #a452ec;
$custom-light: #c488f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a452ec",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 271.948,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61118,
    "c": 0.224,
    "h": 305.1
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#A452EC
secondary
#CBE9B1
accent
#DD096C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A452EC

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

Preview Lab → · Contrast checker → · Palette generator →

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