#A24DD5#A24DD5

#A24DD5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.206 H 310.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A24DD5
RGBrgb(162, 77, 213)
HSLhsl(278, 62%, 57%)
HSVhsv(278, 64%, 84%)
CMYKcmyk(23.9%, 63.8%, 0%, 16.5%)
CIE-LABlab(49.24, 57.54, -55.75)
CIE-LCHlch(49.24, 80.12, 315.90°)
OKLaboklab(58.74% 0.1335 -0.1573)
OKLCHoklch(58.74% 0.206 310.3)
XYZxyz(29.5621, 17.7938, 64.8151)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DD5 #80D54D
analogous
#5E4DD5 #A24DD5 #D54DC4
triadic
#A24DD5 #D5A24D #4DD5A2
tetradic
#A24DD5 #D55E4D #80D54D #4DC4D5
square
#A24DD5 #D55E4D #80D54D #4DC4D5
split-complementary
#A24DD5 #C4D54D #4DD55E
monochromatic
#612088 #842CB9 #A24DD5 #BC7FE1 #D6B0EC

Accessibility & contrast

On white

4.61
#A24DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A24DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DD5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DD5#FFFFFF#000000##FFFFFF
##A24DD51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3C76D2
Tritanopia (blue-blind)
#9B688A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24dd5;
/* rgb */ color: rgb(162, 77, 213);
/* oklch */ color: oklch(58.7% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#c184e3',
    500: '#a24dd5',
    950: '#000000',
  },
}
SCSS
$custom: #a24dd5;
$custom-light: #c184e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dd5",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 277.5,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.20628,
    "h": 310.3
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#A24DD5
secondary
#B8DBA3
accent
#E54380
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A24DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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