#A24CD8#A24CD8

#A24CD8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.211 H 309.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A24CD8
RGBrgb(162, 76, 216)
HSLhsl(277, 64%, 57%)
HSVhsv(277, 65%, 85%)
CMYKcmyk(25%, 64.8%, 0%, 15.3%)
CIE-LABlab(49.26, 58.66, -57.43)
CIE-LCHlch(49.26, 82.09, 315.61°)
OKLaboklab(58.82% 0.1344 -0.1622)
OKLCHoklch(58.82% 0.211 309.7)
XYZxyz(29.8770, 17.8087, 66.8160)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CD8 #82D84C
analogous
#5C4CD8 #A24CD8 #D84CC8
triadic
#A24CD8 #D8A24C #4CD8A2
tetradic
#A24CD8 #D85C4C #82D84C #4CC8D8
square
#A24CD8 #D85C4C #82D84C #4CC8D8
split-complementary
#A24CD8 #C8D84C #4CD85C
monochromatic
#611E8B #8429BE #A24CD8 #BC7EE3 #D6B1EE

Accessibility & contrast

On white

4.60
#A24CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A24CD8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CD8#FFFFFF#000000##FFFFFF
##A24CD81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#9A698C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24cd8;
/* rgb */ color: rgb(162, 76, 216);
/* oklch */ color: oklch(58.8% 0.211 309.7);
Tailwind
colors: {
  custom: {
    50: '#c283e5',
    500: '#a24cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a24cd8;
$custom-light: #c283e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cd8",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 276.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58816,
    "c": 0.21067,
    "h": 309.7
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A24CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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