#A24DEF#A24DEF

#A24DEF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.5% C 0.233 H 304.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A24DEF
RGBrgb(162, 77, 239)
HSLhsl(271, 84%, 62%)
HSVhsv(271, 68%, 94%)
CMYKcmyk(32.2%, 67.8%, 0%, 6.3%)
CIE-LABlab(50.95, 63.33, -67.72)
CIE-LCHlch(50.95, 92.72, 313.08°)
OKLaboklab(60.5% 0.1311 -0.1924)
OKLCHoklch(60.5% 0.233 304.3)
XYZxyz(33.1306, 19.2213, 83.6093)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DEF #9AEF4D
analogous
#514DEF #A24DEF #EF4DEB
triadic
#A24DEF #EFA24D #4DEFA2
tetradic
#A24DEF #EF514D #9AEF4D #4DEBEF
square
#A24DEF #EF514D #9AEF4D #4DEBEF
split-complementary
#A24DEF #EBEF4D #4DEF51
monochromatic
#6510B2 #8515EA #A24DEF #BF85F4 #DDBDF9

Accessibility & contrast

On white

4.34
#A24DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A24DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24DEF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DEF#FFFFFF#000000##000000
##A24DEF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#937298
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a24def;
/* rgb */ color: rgb(162, 77, 239);
/* oklch */ color: oklch(60.5% 0.233 304.3);
Tailwind
colors: {
  custom: {
    50: '#c385f5',
    500: '#a24def',
    950: '#000000',
  },
}
SCSS
$custom: #a24def;
$custom-light: #c385f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a24def",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 239
  },
  "hsl": {
    "h": 271.481,
    "s": 83.505,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.23286,
    "h": 304.3
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#A24DEF
secondary
#CAEAAE
accent
#E0066D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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