#A24FE3#A24FE3

#A24FE3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.218 H 306.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A24FE3
RGBrgb(162, 79, 227)
HSLhsl(274, 73%, 60%)
HSVhsv(274, 65%, 89%)
CMYKcmyk(28.6%, 65.2%, 0%, 11%)
CIE-LABlab(50.48, 59.70, -61.72)
CIE-LCHlch(50.48, 85.87, 314.04°)
OKLaboklab(59.91% 0.1303 -0.1748)
OKLCHoklch(59.91% 0.218 306.7)
XYZxyz(31.5585, 18.8197, 74.6282)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FE3 #90E34F
analogous
#584FE3 #A24FE3 #E34FDA
triadic
#A24FE3 #E3A24F #4FE3A2
tetradic
#A24FE3 #E3584F #90E34F #4FDAE3
square
#A24FE3 #E3584F #90E34F #4FDAE3
split-complementary
#A24FE3 #DAE34F #4FE358
monochromatic
#64199E #8522D3 #A24FE3 #BE84EB #DAB9F4

Accessibility & contrast

On white

4.41
#A24FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A24FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FE3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FE3#FFFFFF#000000##000000
##A24FE31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#976F92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24fe3;
/* rgb */ color: rgb(162, 79, 227);
/* oklch */ color: oklch(59.9% 0.218 306.7);
Tailwind
colors: {
  custom: {
    50: '#c285ed',
    500: '#a24fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a24fe3;
$custom-light: #c285ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fe3",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 273.649,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.59913,
    "c": 0.21803,
    "h": 306.7
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A24FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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