#A24CD2#A24CD2

#A24CD2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.205 H 311.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A24CD2
RGBrgb(162, 76, 210)
HSLhsl(279, 60%, 56%)
HSVhsv(279, 64%, 82%)
CMYKcmyk(22.9%, 63.8%, 0%, 17.6%)
CIE-LABlab(48.89, 57.36, -54.61)
CIE-LCHlch(48.89, 79.20, 316.41°)
OKLaboklab(58.43% 0.1348 -0.1539)
OKLCHoklch(58.43% 0.205 311.2)
XYZxyz(29.1154, 17.5041, 62.8051)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CD2 #7CD24C
analogous
#5F4CD2 #A24CD2 #D24CBF
triadic
#A24CD2 #D2A24C #4CD2A2
tetradic
#A24CD2 #D25F4C #7CD24C #4CBFD2
square
#A24CD2 #D25F4C #7CD24C #4CBFD2
split-complementary
#A24CD2 #BFD24C #4CD25F
monochromatic
#602183 #832DB4 #A24CD2 #BB7DDE #D5AEEB

Accessibility & contrast

On white

4.67
#A24CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A24CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CD2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CD2#FFFFFF#000000##FFFFFF
##A24CD21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#9C6688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a24cd2;
/* rgb */ color: rgb(162, 76, 210);
/* oklch */ color: oklch(58.4% 0.205 311.2);
Tailwind
colors: {
  custom: {
    50: '#c183e0',
    500: '#a24cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a24cd2;
$custom-light: #c183e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cd2",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 278.507,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58426,
    "c": 0.20458,
    "h": 311.2
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#A24CD2
secondary
#B5D9A1
accent
#E3457D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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