#A24DFA#A24DFA

#A24DFA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.3% C 0.244 H 302.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A24DFA
RGBrgb(162, 77, 250)
HSLhsl(269, 95%, 64%)
HSVhsv(269, 69%, 98%)
CMYKcmyk(35.2%, 69.2%, 0%, 2%)
CIE-LABlab(51.71, 65.85, -72.62)
CIE-LCHlch(51.71, 98.03, 312.20°)
OKLaboklab(61.29% 0.1296 -0.2068)
OKLCHoklch(61.29% 0.244 302.1)
XYZxyz(34.8054, 19.8912, 92.4297)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DFA #A5FA4D
analogous
#4D4FFA #A24DFA #F94DFA
triadic
#A24DFA #FAA24D #4DFAA2
tetradic
#A24DFA #FA4D4F #A5FA4D #4DFAF9
square
#A24DFA #FA4D4F #A5FA4D #4DFAF9
split-complementary
#A24DFA #FAF94D #4FFA4D
monochromatic
#6506C7 #8311F8 #A24DFA #C189FC #E0C4FD

Accessibility & contrast

On white

4.22
#A24DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A24DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24DFA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DFA#FFFFFF#000000##000000
##A24DFA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007BF6
Tritanopia (blue-blind)
#90769E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a24dfa;
/* rgb */ color: rgb(162, 77, 250);
/* oklch */ color: oklch(61.3% 0.244 302.1);
Tailwind
colors: {
  custom: {
    50: '#c485fd',
    500: '#a24dfa',
    950: '#000000',
  },
}
SCSS
$custom: #a24dfa;
$custom-light: #c485fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dfa",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 250
  },
  "hsl": {
    "h": 269.48,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.24407,
    "h": 302.1
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#A24DFA
secondary
#D2F0B3
accent
#E60075
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #A24DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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