#A24FD2#A24FD2

#A24FD2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.200 H 310.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A24FD2
RGBrgb(162, 79, 210)
HSLhsl(278, 59%, 57%)
HSVhsv(278, 62%, 82%)
CMYKcmyk(22.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(49.41, 55.94, -53.78)
CIE-LCHlch(49.41, 77.59, 316.13°)
OKLaboklab(58.8% 0.1313 -0.1515)
OKLCHoklch(58.8% 0.2 310.9)
XYZxyz(29.3270, 17.9271, 62.8756)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FD2 #7FD24F
analogous
#614FD2 #A24FD2 #D24FC1
triadic
#A24FD2 #D2A24F #4FD2A2
tetradic
#A24FD2 #D2614F #7FD24F #4FC1D2
square
#A24FD2 #D2614F #7FD24F #4FC1D2
split-complementary
#A24FD2 #C1D24F #4FD261
monochromatic
#602285 #842EB5 #A24FD2 #BC80DE #D6B0EB

Accessibility & contrast

On white

4.58
#A24FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A24FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FD2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FD2#FFFFFF#000000##000000
##A24FD21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1072D6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#9C6889
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24fd2;
/* rgb */ color: rgb(162, 79, 210);
/* oklch */ color: oklch(58.8% 0.200 310.9);
Tailwind
colors: {
  custom: {
    50: '#c185e0',
    500: '#a24fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a24fd2;
$custom-light: #c185e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fd2",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 278.015,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.20045,
    "h": 310.9
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#A24FD2
secondary
#B7D9A4
accent
#E2457F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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