#A24DCD#A24DCD

#A24DCD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.2% C 0.198 H 312.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A24DCD
RGBrgb(162, 77, 205)
HSLhsl(280, 56%, 55%)
HSVhsv(280, 62%, 80%)
CMYKcmyk(21%, 62.4%, 0%, 19.6%)
CIE-LABlab(48.76, 55.82, -51.95)
CIE-LCHlch(48.76, 76.25, 317.05°)
OKLaboklab(58.23% 0.1338 -0.1461)
OKLCHoklch(58.23% 0.198 312.5)
XYZxyz(28.5717, 17.3977, 59.5988)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DCD #78CD4D
analogous
#624DCD #A24DCD #CD4DB8
triadic
#A24DCD #CDA24D #4DCDA2
tetradic
#A24DCD #CD624D #78CD4D #4DB8CD
square
#A24DCD #CD624D #78CD4D #4DB8CD
split-complementary
#A24DCD #B8CD4D #4DCD62
monochromatic
#5E237D #8330AC #A24DCD #BB7DDA #D4ADE8

Accessibility & contrast

On white

4.69
#A24DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A24DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DCD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DCD#FFFFFF#000000##FFFFFF
##A24DCD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#9D6586
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a24dcd;
/* rgb */ color: rgb(162, 77, 205);
/* oklch */ color: oklch(58.2% 0.198 312.5);
Tailwind
colors: {
  custom: {
    50: '#c184dd',
    500: '#a24dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a24dcd;
$custom-light: #c184dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dcd",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 279.844,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58233,
    "c": 0.19812,
    "h": 312.5
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#A24DCD
secondary
#B2D6A0
accent
#DF487B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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