#A24CE2#A24CE2

#A24CE2 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.221 H 307.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A24CE2
RGBrgb(162, 76, 226)
HSLhsl(274, 72%, 59%)
HSVhsv(274, 66%, 89%)
CMYKcmyk(28.3%, 66.4%, 0%, 11.4%)
CIE-LABlab(49.91, 60.86, -62.07)
CIE-LCHlch(49.91, 86.93, 314.43°)
OKLaboklab(59.48% 0.1336 -0.1758)
OKLCHoklch(59.48% 0.221 307.2)
XYZxyz(31.2093, 18.3416, 73.8329)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CE2 #8CE24C
analogous
#574CE2 #A24CE2 #E24CD7
triadic
#A24CE2 #E2A24C #4CE2A2
tetradic
#A24CE2 #E2574C #8CE24C #4CD7E2
square
#A24CE2 #E2574C #8CE24C #4CD7E2
split-complementary
#A24CE2 #D7E24C #4CE257
monochromatic
#63199B #8522CF #A24CE2 #BD81EB #D9B5F3

Accessibility & contrast

On white

4.50
#A24CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A24CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24CE2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CE2#FFFFFF#000000##000000
##A24CE21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#2877DF
Tritanopia (blue-blind)
#986C91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a24ce2;
/* rgb */ color: rgb(162, 76, 226);
/* oklch */ color: oklch(59.5% 0.221 307.2);
Tailwind
colors: {
  custom: {
    50: '#c284ec',
    500: '#a24ce2',
    950: '#000000',
  },
}
SCSS
$custom: #a24ce2;
$custom-light: #c284ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ce2",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 274.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.22085,
    "h": 307.2
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#A24CE2
secondary
#C1E2A8
accent
#EF3987
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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