#A24FE1#A24FE1

#A24FE1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.216 H 307.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A24FE1
RGBrgb(162, 79, 225)
HSLhsl(274, 71%, 60%)
HSVhsv(274, 65%, 88%)
CMYKcmyk(28%, 64.9%, 0%, 11.8%)
CIE-LABlab(50.35, 59.25, -60.80)
CIE-LCHlch(50.35, 84.89, 314.26°)
OKLaboklab(59.78% 0.1305 -0.1721)
OKLCHoklch(59.78% 0.216 307.2)
XYZxyz(31.2840, 18.7100, 73.1829)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FE1 #8EE14F
analogous
#594FE1 #A24FE1 #E14FD7
triadic
#A24FE1 #E1A24F #4FE1A2
tetradic
#A24FE1 #E1594F #8EE14F #4FD7E1
square
#A24FE1 #E1594F #8EE14F #4FD7E1
split-complementary
#A24FE1 #D7E14F #4FE159
monochromatic
#641A9B #8523CF #A24FE1 #BE83EA #D9B8F3

Accessibility & contrast

On white

4.43
#A24FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A24FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FE1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FE1#FFFFFF#000000##000000
##A24FE11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2F78DE
Tritanopia (blue-blind)
#986E91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a24fe1;
/* rgb */ color: rgb(162, 79, 225);
/* oklch */ color: oklch(59.8% 0.216 307.2);
Tailwind
colors: {
  custom: {
    50: '#c285eb',
    500: '#a24fe1',
    950: '#000000',
  },
}
SCSS
$custom: #a24fe1;
$custom-light: #c285eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fe1",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 274.11,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.21596,
    "h": 307.2
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#A24FE1
secondary
#C2E2AA
accent
#EE3A88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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