#A24BE7#A24BE7

#A24BE7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.227 H 306.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A24BE7
RGBrgb(162, 75, 231)
HSLhsl(273, 76%, 60%)
HSVhsv(273, 68%, 91%)
CMYKcmyk(29.9%, 67.5%, 0%, 9.4%)
CIE-LABlab(50.08, 62.43, -64.63)
CIE-LCHlch(50.08, 89.85, 314.01°)
OKLaboklab(59.71% 0.1342 -0.1833)
OKLCHoklch(59.71% 0.227 306.2)
XYZxyz(31.8370, 18.4834, 77.4762)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BE7 #90E74B
analogous
#544BE7 #A24BE7 #E74BDE
triadic
#A24BE7 #E7A24B #4BE7A2
tetradic
#A24BE7 #E7544B #90E74B #4BDEE7
square
#A24BE7 #E7544B #90E74B #4BDEE7
split-complementary
#A24BE7 #DEE74B #4BE754
monochromatic
#6416A2 #851DD8 #A24BE7 #BE81EE #DAB7F5

Accessibility & contrast

On white

4.47
#A24BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A24BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24BE7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BE7#FFFFFF#000000##000000
##A24BE71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#1B78E4
Tritanopia (blue-blind)
#966E93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a24be7;
/* rgb */ color: rgb(162, 75, 231);
/* oklch */ color: oklch(59.7% 0.227 306.2);
Tailwind
colors: {
  custom: {
    50: '#c283ef',
    500: '#a24be7',
    950: '#000000',
  },
}
SCSS
$custom: #a24be7;
$custom-light: #c283ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a24be7",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 273.462,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.22718,
    "h": 306.2
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#A24BE7
secondary
#C3E5A9
accent
#F33589
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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