#A24FDF#A24FDF

#A24FDF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.214 H 307.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A24FDF
RGBrgb(162, 79, 223)
HSLhsl(275, 69%, 59%)
HSVhsv(275, 65%, 87%)
CMYKcmyk(27.4%, 64.6%, 0%, 12.5%)
CIE-LABlab(50.22, 58.80, -59.88)
CIE-LCHlch(50.22, 83.92, 314.48°)
OKLaboklab(59.65% 0.1306 -0.1694)
OKLCHoklch(59.65% 0.214 307.6)
XYZxyz(31.0128, 18.6015, 71.7544)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FDF #8CDF4F
analogous
#5A4FDF #A24FDF #DF4FD4
triadic
#A24FDF #DFA24F #4FDFA2
tetradic
#A24FDF #DF5A4F #8CDF4F #4FD4DF
square
#A24FDF #DF5A4F #8CDF4F #4FD4DF
split-complementary
#A24FDF #D4DF4F #4FDF5A
monochromatic
#631C98 #8525CC #A24FDF #BD83E8 #D9B7F2

Accessibility & contrast

On white

4.45
#A24FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A24FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FDF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FDF#FFFFFF#000000##000000
##A24FDF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#986D90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a24fdf;
/* rgb */ color: rgb(162, 79, 223);
/* oklch */ color: oklch(59.6% 0.214 307.6);
Tailwind
colors: {
  custom: {
    50: '#c285ea',
    500: '#a24fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a24fdf;
$custom-light: #c285ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fdf",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 274.583,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.21389,
    "h": 307.6
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#A24FDF
secondary
#C1E1A9
accent
#EC3C86
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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