#A24AFF#A24AFF

#A24AFF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.3% C 0.252 H 301.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A24AFF
RGBrgb(162, 74, 255)
HSLhsl(269, 100%, 65%)
HSVhsv(269, 71%, 100%)
CMYKcmyk(36.5%, 71%, 0%, 0%)
CIE-LABlab(51.61, 68.31, -75.57)
CIE-LCHlch(51.61, 101.87, 312.11°)
OKLaboklab(61.33% 0.1315 -0.2155)
OKLCHoklch(61.33% 0.252 301.4)
XYZxyz(35.3947, 19.7987, 96.5452)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24AFF #A7FF4A
analogous
#4A4DFF #A24AFF #FC4AFF
triadic
#A24AFF #FFA24A #4AFFA2
tetradic
#A24AFF #FF4A4D #A7FF4A #4AFFFC
square
#A24AFF #FF4A4D #A7FF4A #4AFFFC
split-complementary
#A24AFF #FFFC4A #4DFF4A
monochromatic
#6400CF #830DFF #A24AFF #C187FF #E1C4FF

Accessibility & contrast

On white

4.23
#A24AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A24AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24AFF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24AFF#FFFFFF#000000##000000
##A24AFF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#8E77A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a24aff;
/* rgb */ color: rgb(162, 74, 255);
/* oklch */ color: oklch(61.3% 0.252 301.4);
Tailwind
colors: {
  custom: {
    50: '#c484ff',
    500: '#a24aff',
    950: '#000000',
  },
}
SCSS
$custom: #a24aff;
$custom-light: #c484ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a24aff",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 269.171,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.25246,
    "h": 301.4
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#A24AFF
secondary
#D3F2B3
accent
#E60076
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A24AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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