#A24DD2#A24DD2

#A24DD2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.203 H 311.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A24DD2
RGBrgb(162, 77, 210)
HSLhsl(278, 60%, 56%)
HSVhsv(278, 63%, 82%)
CMYKcmyk(22.9%, 63.3%, 0%, 17.6%)
CIE-LABlab(49.06, 56.89, -54.33)
CIE-LCHlch(49.06, 78.67, 316.32°)
OKLaboklab(58.55% 0.1336 -0.1531)
OKLCHoklch(58.55% 0.203 311.1)
XYZxyz(29.1849, 17.6429, 62.8283)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DD2 #7DD24D
analogous
#604DD2 #A24DD2 #D24DC0
triadic
#A24DD2 #D2A24D #4DD2A2
tetradic
#A24DD2 #D2604D #7DD24D #4DC0D2
square
#A24DD2 #D2604D #7DD24D #4DC0D2
split-complementary
#A24DD2 #C0D24D #4DD260
monochromatic
#602183 #842EB4 #A24DD2 #BC7EDE #D5AFEB

Accessibility & contrast

On white

4.64
#A24DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A24DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DD2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DD2#FFFFFF#000000##FFFFFF
##A24DD21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0471D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#9C6789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24dd2;
/* rgb */ color: rgb(162, 77, 210);
/* oklch */ color: oklch(58.6% 0.203 311.1);
Tailwind
colors: {
  custom: {
    50: '#c184e0',
    500: '#a24dd2',
    950: '#000000',
  },
}
SCSS
$custom: #a24dd2;
$custom-light: #c184e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dd2",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 278.346,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.20322,
    "h": 311.1
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#A24DD2
secondary
#B6D9A2
accent
#E3457E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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