#A24EF1#A24EF1

#A24EF1 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.8% C 0.234 H 303.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A24EF1
RGBrgb(162, 78, 241)
HSLhsl(271, 85%, 63%)
HSVhsv(271, 68%, 95%)
CMYKcmyk(32.8%, 67.6%, 0%, 5.5%)
CIE-LABlab(51.25, 63.33, -68.36)
CIE-LCHlch(51.25, 93.18, 312.81°)
OKLaboklab(60.76% 0.1299 -0.1943)
OKLCHoklch(60.76% 0.234 303.8)
XYZxyz(33.4982, 19.4811, 85.1975)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EF1 #9DF14E
analogous
#504EF1 #A24EF1 #F14EEF
triadic
#A24EF1 #F1A24E #4EF1A2
tetradic
#A24EF1 #F1504E #9DF14E #4EEFF1
square
#A24EF1 #F1504E #9DF14E #4EEFF1
split-complementary
#A24EF1 #EFF14E #4EF150
monochromatic
#650EB6 #8415ED #A24EF1 #C087F5 #DEBFFA

Accessibility & contrast

On white

4.29
#A24EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A24EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24EF1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EF1#FFFFFF#000000##000000
##A24EF11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#93739A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a24ef1;
/* rgb */ color: rgb(162, 78, 241);
/* oklch */ color: oklch(60.8% 0.234 303.8);
Tailwind
colors: {
  custom: {
    50: '#c385f7',
    500: '#a24ef1',
    950: '#000000',
  },
}
SCSS
$custom: #a24ef1;
$custom-light: #c385f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ef1",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 270.92,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.2337,
    "h": 303.8
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#A24EF1
secondary
#CCEBB0
accent
#E2046F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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