#A24DFD#A24DFD

#A24DFD is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.5% C 0.247 H 301.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A24DFD
RGBrgb(162, 77, 253)
HSLhsl(269, 98%, 65%)
HSVhsv(269, 70%, 99%)
CMYKcmyk(36%, 69.6%, 0%, 0.8%)
CIE-LABlab(51.93, 66.54, -73.94)
CIE-LCHlch(51.93, 99.47, 311.98°)
OKLaboklab(61.51% 0.1291 -0.2107)
OKLCHoklch(61.51% 0.247 301.5)
XYZxyz(35.2795, 20.0808, 94.9268)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DFD #A8FD4D
analogous
#4D50FD #A24DFD #FA4DFD
triadic
#A24DFD #FDA24D #4DFDA2
tetradic
#A24DFD #FD4D50 #A8FD4D #4DFDFA
square
#A24DFD #FD4D50 #A8FD4D #4DFDFA
split-complementary
#A24DFD #FDFA4D #50FD4D
monochromatic
#6402CD #8210FC #A24DFD #C28AFE #E1C6FE

Accessibility & contrast

On white

4.19
#A24DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A24DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24DFD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DFD#FFFFFF#000000##000000
##A24DFD1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#8E77A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a24dfd;
/* rgb */ color: rgb(162, 77, 253);
/* oklch */ color: oklch(61.5% 0.247 301.5);
Tailwind
colors: {
  custom: {
    50: '#c485ff',
    500: '#a24dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a24dfd;
$custom-light: #c485ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dfd",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 253
  },
  "hsl": {
    "h": 268.977,
    "s": 97.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61514,
    "c": 0.24711,
    "h": 301.5
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#A24DFD
secondary
#D4F1B5
accent
#E60077
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A24DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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