#A24EFF#A24EFF

#A24EFF is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.8% C 0.248 H 301.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A24EFF
RGBrgb(162, 78, 255)
HSLhsl(268, 100%, 65%)
HSVhsv(268, 69%, 100%)
CMYKcmyk(36.5%, 69.4%, 0%, 0%)
CIE-LABlab(52.23, 66.56, -74.56)
CIE-LCHlch(52.23, 99.95, 311.75°)
OKLaboklab(61.77% 0.1278 -0.2125)
OKLCHoklch(61.77% 0.248 301)
XYZxyz(35.6703, 20.3499, 96.6370)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EFF #ABFF4E
analogous
#4E52FF #A24EFF #FB4EFF
triadic
#A24EFF #FFA24E #4EFFA2
tetradic
#A24EFF #FF4E52 #ABFF4E #4EFFFB
square
#A24EFF #FF4E52 #ABFF4E #4EFFFB
split-complementary
#A24EFF #FFFB4E #52FF4E
monochromatic
#6400D3 #8211FF #A24EFF #C28BFF #E2C8FF

Accessibility & contrast

On white

4.14
#A24EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A24EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24EFF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EFF#FFFFFF#000000##000000
##A24EFF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#8E79A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a24eff;
/* rgb */ color: rgb(162, 78, 255);
/* oklch */ color: oklch(61.8% 0.248 301.0);
Tailwind
colors: {
  custom: {
    50: '#c486ff',
    500: '#a24eff',
    950: '#000000',
  },
}
SCSS
$custom: #a24eff;
$custom-light: #c486ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a24eff",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 268.475,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.24801,
    "h": 301
  },
  "luminance": 0.2035
}

Semantic roles & 50–950 ramp

primary
#A24EFF
secondary
#D6F2B7
accent
#E60079
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A24EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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