#A24FE2#A24FE2

#A24FE2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.217 H 306.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A24FE2
RGBrgb(162, 79, 226)
HSLhsl(274, 72%, 60%)
HSVhsv(274, 65%, 89%)
CMYKcmyk(28.3%, 65%, 0%, 11.4%)
CIE-LABlab(50.41, 59.47, -61.26)
CIE-LCHlch(50.41, 85.38, 314.15°)
OKLaboklab(59.85% 0.1304 -0.1735)
OKLCHoklch(59.85% 0.217 306.9)
XYZxyz(31.4208, 18.7647, 73.9034)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FE2 #8FE24F
analogous
#594FE2 #A24FE2 #E24FD8
triadic
#A24FE2 #E2A24F #4FE2A2
tetradic
#A24FE2 #E2594F #8FE24F #4FD8E2
square
#A24FE2 #E2594F #8FE24F #4FD8E2
split-complementary
#A24FE2 #D8E24F #4FE259
monochromatic
#641A9D #8522D1 #A24FE2 #BE84EB #DAB8F3

Accessibility & contrast

On white

4.42
#A24FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A24FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FE2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FE2#FFFFFF#000000##000000
##A24FE21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#976E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24fe2;
/* rgb */ color: rgb(162, 79, 226);
/* oklch */ color: oklch(59.8% 0.217 306.9);
Tailwind
colors: {
  custom: {
    50: '#c285ec',
    500: '#a24fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a24fe2;
$custom-light: #c285ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fe2",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 273.878,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.21699,
    "h": 306.9
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#A24FE2
secondary
#C3E3AA
accent
#EE3988
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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