#A24EE3#A24EE3

#A24EE3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.219 H 306.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A24EE3
RGBrgb(162, 78, 227)
HSLhsl(274, 73%, 60%)
HSVhsv(274, 66%, 89%)
CMYKcmyk(28.6%, 65.6%, 0%, 11%)
CIE-LABlab(50.31, 60.16, -62.00)
CIE-LCHlch(50.31, 86.39, 314.14°)
OKLaboklab(59.79% 0.1314 -0.1756)
OKLCHoklch(59.79% 0.219 306.8)
XYZxyz(31.4869, 18.6766, 74.6043)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EE3 #8FE34E
analogous
#584EE3 #A24EE3 #E34ED9
triadic
#A24EE3 #E3A24E #4EE3A2
tetradic
#A24EE3 #E3584E #8FE34E #4ED9E3
square
#A24EE3 #E3584E #8FE34E #4ED9E3
split-complementary
#A24EE3 #D9E34E #4EE358
monochromatic
#64199E #8521D3 #A24EE3 #BE83EB #DAB8F4

Accessibility & contrast

On white

4.43
#A24EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A24EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24EE3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EE3#FFFFFF#000000##000000
##A24EE31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#976E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24ee3;
/* rgb */ color: rgb(162, 78, 227);
/* oklch */ color: oklch(59.8% 0.219 306.8);
Tailwind
colors: {
  custom: {
    50: '#c285ed',
    500: '#a24ee3',
    950: '#000000',
  },
}
SCSS
$custom: #a24ee3;
$custom-light: #c285ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ee3",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 273.826,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.21932,
    "h": 306.8
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#A24EE3
secondary
#C3E3AA
accent
#EF3888
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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