#A24FE8#A24FE8

#A24FE8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.3% C 0.223 H 305.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A24FE8
RGBrgb(162, 79, 232)
HSLhsl(273, 77%, 61%)
HSVhsv(273, 66%, 91%)
CMYKcmyk(30.2%, 65.9%, 0%, 9%)
CIE-LABlab(50.80, 60.82, -64.02)
CIE-LCHlch(50.80, 88.30, 313.53°)
OKLaboklab(60.25% 0.1298 -0.1815)
OKLCHoklch(60.25% 0.223 305.6)
XYZxyz(32.2586, 19.0998, 78.3155)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FE8 #95E84F
analogous
#554FE8 #A24FE8 #E84FE1
triadic
#A24FE8 #E8A24F #4FE8A2
tetradic
#A24FE8 #E8554F #95E84F #4FE1E8
square
#A24FE8 #E8554F #95E84F #4FE1E8
split-complementary
#A24FE8 #E1E84F #4FE855
monochromatic
#6416A7 #851DDD #A24FE8 #BF85EF #DBBBF6

Accessibility & contrast

On white

4.36
#A24FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A24FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FE8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FE8#FFFFFF#000000##000000
##A24FE81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#2279E5
Tritanopia (blue-blind)
#967095
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a24fe8;
/* rgb */ color: rgb(162, 79, 232);
/* oklch */ color: oklch(60.3% 0.223 305.6);
Tailwind
colors: {
  custom: {
    50: '#c286f0',
    500: '#a24fe8',
    950: '#000000',
  },
}
SCSS
$custom: #a24fe8;
$custom-light: #c286f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fe8",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 272.549,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.2232,
    "h": 305.6
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#A24FE8
secondary
#C7E6AD
accent
#D90C6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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