#A24BE2#A24BE2

#A24BE2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.222 H 307.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A24BE2
RGBrgb(162, 75, 226)
HSLhsl(275, 72%, 59%)
HSVhsv(275, 67%, 89%)
CMYKcmyk(28.3%, 66.8%, 0%, 11.4%)
CIE-LABlab(49.74, 61.32, -62.34)
CIE-LCHlch(49.74, 87.44, 314.53°)
OKLaboklab(59.37% 0.1347 -0.1766)
OKLCHoklch(59.37% 0.222 307.3)
XYZxyz(31.1410, 18.2049, 73.8101)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BE2 #8BE24B
analogous
#574BE2 #A24BE2 #E24BD6
triadic
#A24BE2 #E2A24B #4BE2A2
tetradic
#A24BE2 #E2574B #8BE24B #4BD6E2
square
#A24BE2 #E2574B #8BE24B #4BD6E2
split-complementary
#A24BE2 #D6E24B #4BE257
monochromatic
#63199A #8521CF #A24BE2 #BD80EA #D8B4F3

Accessibility & contrast

On white

4.52
#A24BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A24BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24BE2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BE2#FFFFFF#000000##000000
##A24BE21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2777DF
Tritanopia (blue-blind)
#986C91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a24be2;
/* rgb */ color: rgb(162, 75, 226);
/* oklch */ color: oklch(59.4% 0.222 307.3);
Tailwind
colors: {
  custom: {
    50: '#c283ec',
    500: '#a24be2',
    950: '#000000',
  },
}
SCSS
$custom: #a24be2;
$custom-light: #c283ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a24be2",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 274.57,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.22212,
    "h": 307.3
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#A24BE2
secondary
#C0E2A7
accent
#EF3986
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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