#A24DFF#A24DFF

#A24DFF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.7% C 0.249 H 301.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A24DFF
RGBrgb(162, 77, 255)
HSLhsl(269, 100%, 65%)
HSVhsv(269, 70%, 100%)
CMYKcmyk(36.5%, 69.8%, 0%, 0%)
CIE-LABlab(52.07, 67.00, -74.82)
CIE-LCHlch(52.07, 100.44, 311.84°)
OKLaboklab(61.66% 0.1288 -0.2133)
OKLCHoklch(61.66% 0.249 301.1)
XYZxyz(35.5998, 20.2089, 96.6135)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DFF #AAFF4D
analogous
#4D51FF #A24DFF #FB4DFF
triadic
#A24DFF #FFA24D #4DFFA2
tetradic
#A24DFF #FF4D51 #AAFF4D #4DFFFB
square
#A24DFF #FF4D51 #AAFF4D #4DFFFB
split-complementary
#A24DFF #FFFB4D #51FF4D
monochromatic
#6400D2 #8210FF #A24DFF #C28AFF #E2C7FF

Accessibility & contrast

On white

4.17
#A24DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A24DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24DFF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DFF#FFFFFF#000000##000000
##A24DFF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a24dff;
/* rgb */ color: rgb(162, 77, 255);
/* oklch */ color: oklch(61.7% 0.249 301.1);
Tailwind
colors: {
  custom: {
    50: '#c485ff',
    500: '#a24dff',
    950: '#000000',
  },
}
SCSS
$custom: #a24dff;
$custom-light: #c485ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dff",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 268.652,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.24915,
    "h": 301.1
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#A24DFF
secondary
#D5F2B6
accent
#E60078
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A24DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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