#A452EB#A452EB

#A452EB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.1% C 0.223 H 305.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A452EB
RGBrgb(164, 82, 235)
HSLhsl(272, 79%, 62%)
HSVhsv(272, 65%, 92%)
CMYKcmyk(30.2%, 65.1%, 0%, 7.8%)
CIE-LABlab(51.75, 60.51, -64.16)
CIE-LCHlch(51.75, 88.19, 313.32°)
OKLaboklab(61.05% 0.1289 -0.1819)
OKLCHoklch(61.05% 0.223 305.3)
XYZxyz(33.3192, 19.9255, 80.6718)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452EB #99EB52
analogous
#5852EB #A452EB #EB52E6
triadic
#A452EB #EBA452 #52EBA4
tetradic
#A452EB #EB5852 #99EB52 #52E6EB
square
#A452EB #EB5852 #99EB52 #52E6EB
split-complementary
#A452EB #E6EB52 #52EB58
monochromatic
#6714AE #871BE5 #A452EB #C189F1 #DEC0F8

Accessibility & contrast

On white

4.21
#A452EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A452EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452EB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452EB#FFFFFF#000000##000000
##A452EB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#977398
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a452eb;
/* rgb */ color: rgb(164, 82, 235);
/* oklch */ color: oklch(61.1% 0.223 305.3);
Tailwind
colors: {
  custom: {
    50: '#c488f2',
    500: '#a452eb',
    950: '#000000',
  },
}
SCSS
$custom: #a452eb;
$custom-light: #c488f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a452eb",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 272.157,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.22296,
    "h": 305.3
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A452EB

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

Preview Lab → · Contrast checker → · Palette generator →

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