#A24AEB#A24AEB

#A24AEB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.9% C 0.232 H 305.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A24AEB
RGBrgb(162, 74, 235)
HSLhsl(273, 80%, 61%)
HSVhsv(273, 69%, 92%)
CMYKcmyk(31.1%, 68.5%, 0%, 7.8%)
CIE-LABlab(50.19, 63.77, -66.70)
CIE-LCHlch(50.19, 92.28, 313.71°)
OKLaboklab(59.88% 0.1347 -0.1894)
OKLCHoklch(59.88% 0.232 305.4)
XYZxyz(32.3411, 18.5773, 80.4632)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24AEB #93EB4A
analogous
#514AEB #A24AEB #EB4AE4
triadic
#A24AEB #EBA24A #4AEBA2
tetradic
#A24AEB #EB514A #93EB4A #4AE4EB
square
#A24AEB #EB514A #93EB4A #4AE4EB
split-complementary
#A24AEB #E4EB4A #4AEB51
monochromatic
#6413A8 #8519DF #A24AEB #BE81F1 #DBB8F7

Accessibility & contrast

On white

4.45
#A24AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A24AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24AEB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24AEB#FFFFFF#000000##000000
##A24AEB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0778E8
Tritanopia (blue-blind)
#956F95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a24aeb;
/* rgb */ color: rgb(162, 74, 235);
/* oklch */ color: oklch(59.9% 0.232 305.4);
Tailwind
colors: {
  custom: {
    50: '#c383f2',
    500: '#a24aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a24aeb;
$custom-light: #c383f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a24aeb",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 272.795,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.23242,
    "h": 305.4
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#A24AEB
secondary
#C6E7AA
accent
#DC0969
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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