#A24CD1#A24CD1

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

Color values

HEX#A24CD1
RGBrgb(162, 76, 209)
HSLhsl(279, 59%, 56%)
HSVhsv(279, 64%, 82%)
CMYKcmyk(22.5%, 63.6%, 0%, 18%)
CIE-LABlab(48.83, 57.14, -54.13)
CIE-LCHlch(48.83, 78.71, 316.55°)
OKLaboklab(58.36% 0.1348 -0.1525)
OKLCHoklch(58.36% 0.204 311.5)
XYZxyz(28.9912, 17.4544, 62.1511)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CD1 #7BD14C
analogous
#5F4CD1 #A24CD1 #D14CBD
triadic
#A24CD1 #D1A24C #4CD1A2
tetradic
#A24CD1 #D15F4C #7BD14C #4CBDD1
square
#A24CD1 #D15F4C #7BD14C #4CBDD1
split-complementary
#A24CD1 #BDD14C #4CD15F
monochromatic
#5F2181 #832EB2 #A24CD1 #BB7DDE #D5ADEA

Accessibility & contrast

On white

4.68
#A24CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A24CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CD1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CD1#FFFFFF#000000##FFFFFF
##A24CD11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0270D5
Deuteranopia (green-blind)
#3F76CE
Tritanopia (blue-blind)
#9C6688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a24cd1;
/* rgb */ color: rgb(162, 76, 209);
/* oklch */ color: oklch(58.4% 0.204 311.5);
Tailwind
colors: {
  custom: {
    50: '#c183e0',
    500: '#a24cd1',
    950: '#000000',
  },
}
SCSS
$custom: #a24cd1;
$custom-light: #c183e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cd1",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 278.797,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.20357,
    "h": 311.5
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#A24CD1
secondary
#B4D8A1
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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