#A24CD7#A24CD7

#A24CD7 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.210 H 309.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A24CD7
RGBrgb(162, 76, 215)
HSLhsl(277, 63%, 57%)
HSVhsv(277, 65%, 84%)
CMYKcmyk(24.7%, 64.7%, 0%, 15.7%)
CIE-LABlab(49.20, 58.44, -56.96)
CIE-LCHlch(49.20, 81.61, 315.73°)
OKLaboklab(58.75% 0.1345 -0.1608)
OKLCHoklch(58.75% 0.21 309.9)
XYZxyz(29.7481, 17.7572, 66.1372)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CD7 #81D74C
analogous
#5D4CD7 #A24CD7 #D74CC7
triadic
#A24CD7 #D7A24C #4CD7A2
tetradic
#A24CD7 #D75D4C #81D74C #4CC7D7
square
#A24CD7 #D75D4C #81D74C #4CC7D7
split-complementary
#A24CD7 #C7D74C #4CD75D
monochromatic
#611F8A #842ABC #A24CD7 #BC7EE2 #D6B0ED

Accessibility & contrast

On white

4.61
#A24CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A24CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CD7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CD7#FFFFFF#000000##FFFFFF
##A24CD71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#9B688B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24cd7;
/* rgb */ color: rgb(162, 76, 215);
/* oklch */ color: oklch(58.8% 0.210 309.9);
Tailwind
colors: {
  custom: {
    50: '#c183e4',
    500: '#a24cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a24cd7;
$custom-light: #c183e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cd7",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 277.122,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.20966,
    "h": 309.9
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#A24CD7
secondary
#B9DCA3
accent
#E64180
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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