#A24EE7#A24EE7

#A24EE7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.1% C 0.223 H 305.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A24EE7
RGBrgb(162, 78, 231)
HSLhsl(273, 76%, 61%)
HSVhsv(273, 66%, 91%)
CMYKcmyk(29.9%, 66.2%, 0%, 9.4%)
CIE-LABlab(50.57, 61.06, -63.83)
CIE-LCHlch(50.57, 88.33, 313.73°)
OKLaboklab(60.06% 0.131 -0.181)
OKLCHoklch(60.06% 0.223 305.9)
XYZxyz(32.0453, 18.9000, 77.5457)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EE7 #93E74E
analogous
#554EE7 #A24EE7 #E74EDF
triadic
#A24EE7 #E7A24E #4EE7A2
tetradic
#A24EE7 #E7554E #93E74E #4EDFE7
square
#A24EE7 #E7554E #93E74E #4EDFE7
split-complementary
#A24EE7 #DFE74E #4EE755
monochromatic
#6416A4 #851EDA #A24EE7 #BE84EE #DBBAF6

Accessibility & contrast

On white

4.39
#A24EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A24EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24EE7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EE7#FFFFFF#000000##000000
##A24EE71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#2279E4
Tritanopia (blue-blind)
#967094
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24ee7;
/* rgb */ color: rgb(162, 78, 231);
/* oklch */ color: oklch(60.1% 0.223 305.9);
Tailwind
colors: {
  custom: {
    50: '#c285ef',
    500: '#a24ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a24ee7;
$custom-light: #c285ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ee7",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 272.941,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.22343,
    "h": 305.9
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#A24EE7
secondary
#C6E5AB
accent
#D80D69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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