#A24DD7#A24DD7

#A24DD7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.208 H 309.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A24DD7
RGBrgb(162, 77, 215)
HSLhsl(277, 63%, 57%)
HSVhsv(277, 64%, 84%)
CMYKcmyk(24.7%, 64.2%, 0%, 15.7%)
CIE-LABlab(49.37, 57.97, -56.69)
CIE-LCHlch(49.37, 81.09, 315.64°)
OKLaboklab(58.87% 0.1334 -0.16)
OKLCHoklch(58.87% 0.208 309.8)
XYZxyz(29.8175, 17.8960, 66.1603)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DD7 #82D74D
analogous
#5D4DD7 #A24DD7 #D74DC7
triadic
#A24DD7 #D7A24D #4DD7A2
tetradic
#A24DD7 #D75D4D #82D74D #4DC7D7
square
#A24DD7 #D75D4D #82D74D #4DC7D7
split-complementary
#A24DD7 #C7D74D #4DD75D
monochromatic
#611F8A #842ABC #A24DD7 #BC7FE2 #D6B1ED

Accessibility & contrast

On white

4.59
#A24DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A24DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DD7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DD7#FFFFFF#000000##FFFFFF
##A24DD71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#3A77D4
Tritanopia (blue-blind)
#9B698B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24dd7;
/* rgb */ color: rgb(162, 77, 215);
/* oklch */ color: oklch(58.9% 0.208 309.8);
Tailwind
colors: {
  custom: {
    50: '#c184e4',
    500: '#a24dd7',
    950: '#000000',
  },
}
SCSS
$custom: #a24dd7;
$custom-light: #c184e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dd7",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 276.957,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.20832,
    "h": 309.8
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#A24DD7
secondary
#B9DCA4
accent
#E64181
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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