#A524EB#A524EB

#A524EB is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 57.0% C 0.269 H 308.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A524EB
RGBrgb(165, 36, 235)
HSLhsl(279, 83%, 53%)
HSVhsv(279, 85%, 92%)
CMYKcmyk(29.8%, 84.7%, 0%, 7.8%)
CIE-LABlab(45.99, 77.50, -73.51)
CIE-LCHlch(45.99, 106.82, 316.51°)
OKLaboklab(57.01% 0.1687 -0.2091)
OKLCHoklch(57.01% 0.269 308.9)
XYZxyz(31.1402, 15.2598, 79.8861)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524EB #6AEB24
analogous
#4124EB #A524EB #EB24CE
triadic
#A524EB #EBA524 #24EBA5
tetradic
#A524EB #EB4124 #6AEB24 #24CEEB
square
#A524EB #EB4124 #6AEB24 #24CEEB
split-complementary
#A524EB #CEEB24 #24EB41
monochromatic
#5D0C88 #8312C0 #A524EB #BC5CF0 #D394F5

Accessibility & contrast

On white

5.18
#A524EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A524EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A524EB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524EB#FFFFFF#000000##FFFFFF
##A524EB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F0
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#9A5D8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a524eb;
/* rgb */ color: rgb(165, 36, 235);
/* oklch */ color: oklch(57.0% 0.269 308.9);
Tailwind
colors: {
  custom: {
    50: '#c672f3',
    500: '#a524eb',
    950: '#000000',
  },
}
SCSS
$custom: #a524eb;
$custom-light: #c672f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a524eb",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 235
  },
  "hsl": {
    "h": 278.894,
    "s": 83.264,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.26868,
    "h": 308.9
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#A524EB
secondary
#A9E08B
accent
#FA2E76
background
#FCF7FF
surface
#F9EDFE
border
#D2C8D6
text
#140917
muted
#827B85

Preview Lab

Preview with #A524EB

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

Preview Lab → · Contrast checker → · Palette generator →

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