#A24EF5#A24EF5

#A24EF5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.0% C 0.238 H 302.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A24EF5
RGBrgb(162, 78, 245)
HSLhsl(270, 89%, 63%)
HSVhsv(270, 68%, 96%)
CMYKcmyk(33.9%, 68.2%, 0%, 3.9%)
CIE-LABlab(51.52, 64.25, -70.15)
CIE-LCHlch(51.52, 95.12, 312.49°)
OKLaboklab(61.05% 0.1293 -0.1996)
OKLCHoklch(61.05% 0.238 302.9)
XYZxyz(34.1023, 19.7227, 88.3788)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EF5 #A1F54E
analogous
#4E4EF5 #A24EF5 #F54EF4
triadic
#A24EF5 #F5A24E #4EF5A2
tetradic
#A24EF5 #F54E4E #A1F54E #4EF4F5
square
#A24EF5 #F54E4E #A1F54E #4EF4F5
split-complementary
#A24EF5 #F4F54E #4EF54E
monochromatic
#650BBE #8414F2 #A24EF5 #C088F8 #DFC2FC

Accessibility & contrast

On white

4.25
#A24EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A24EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24EF5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EF5#FFFFFF#000000##000000
##A24EF51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#91759C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a24ef5;
/* rgb */ color: rgb(162, 78, 245);
/* oklch */ color: oklch(61.0% 0.238 302.9);
Tailwind
colors: {
  custom: {
    50: '#c385f9',
    500: '#a24ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a24ef5;
$custom-light: #c385f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ef5",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 270.18,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61046,
    "c": 0.2378,
    "h": 302.9
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#A24EF5
secondary
#CFEDB2
accent
#E60072
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A24EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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