#A24DE7#A24DE7

#A24DE7 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.225 H 306.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A24DE7
RGBrgb(162, 77, 231)
HSLhsl(273, 76%, 60%)
HSVhsv(273, 67%, 91%)
CMYKcmyk(29.9%, 66.7%, 0%, 9.4%)
CIE-LABlab(50.40, 61.52, -64.10)
CIE-LCHlch(50.40, 88.84, 313.82°)
OKLaboklab(59.95% 0.1321 -0.1818)
OKLCHoklch(59.95% 0.225 306)
XYZxyz(31.9748, 18.7589, 77.5222)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DE7 #92E74D
analogous
#554DE7 #A24DE7 #E74DDF
triadic
#A24DE7 #E7A24D #4DE7A2
tetradic
#A24DE7 #E7554D #92E74D #4DDFE7
square
#A24DE7 #E7554D #92E74D #4DDFE7
split-complementary
#A24DE7 #DFE74D #4DE755
monochromatic
#6416A4 #851DD9 #A24DE7 #BE83EE #DAB9F6

Accessibility & contrast

On white

4.42
#A24DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A24DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24DE7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DE7#FFFFFF#000000##000000
##A24DE71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#966F94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24de7;
/* rgb */ color: rgb(162, 77, 231);
/* oklch */ color: oklch(59.9% 0.225 306.0);
Tailwind
colors: {
  custom: {
    50: '#c284ef',
    500: '#a24de7',
    950: '#000000',
  },
}
SCSS
$custom: #a24de7;
$custom-light: #c284ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a24de7",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 273.117,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59945,
    "c": 0.22469,
    "h": 306
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#A24DE7
secondary
#C5E5AA
accent
#D80D68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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