#A24EE2#A24EE2

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

Color values

HEX#A24EE2
RGBrgb(162, 78, 226)
HSLhsl(274, 72%, 60%)
HSVhsv(274, 65%, 89%)
CMYKcmyk(28.3%, 65.5%, 0%, 11.4%)
CIE-LABlab(50.24, 59.94, -61.54)
CIE-LCHlch(50.24, 85.90, 314.25°)
OKLaboklab(59.72% 0.1315 -0.1743)
OKLCHoklch(59.72% 0.218 307)
XYZxyz(31.3493, 18.6215, 73.8796)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EE2 #8EE24E
analogous
#584EE2 #A24EE2 #E24ED8
triadic
#A24EE2 #E2A24E #4EE2A2
tetradic
#A24EE2 #E2584E #8EE24E #4ED8E2
square
#A24EE2 #E2584E #8EE24E #4ED8E2
split-complementary
#A24EE2 #D8E24E #4EE258
monochromatic
#641A9C #8522D1 #A24EE2 #BE83EB #D9B7F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A24EE2#FFFFFF#000000##000000
##A24EE21.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)
#0075E6
Deuteranopia (green-blind)
#2C78DF
Tritanopia (blue-blind)
#986E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24ee2;
/* rgb */ color: rgb(162, 78, 226);
/* oklch */ color: oklch(59.7% 0.218 307.0);
Tailwind
colors: {
  custom: {
    50: '#c285ec',
    500: '#a24ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a24ee2;
$custom-light: #c285ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ee2",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 274.054,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.21829,
    "h": 307
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#A24EE2
secondary
#C2E3A9
accent
#EF3988
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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