#A528EB#A528EB

#A528EB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 57.2% C 0.266 H 308.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A528EB
RGBrgb(165, 40, 235)
HSLhsl(278, 83%, 54%)
HSVhsv(278, 83%, 92%)
CMYKcmyk(29.8%, 83%, 0%, 7.8%)
CIE-LABlab(46.33, 76.49, -72.95)
CIE-LCHlch(46.33, 105.70, 316.36°)
OKLaboklab(57.25% 0.1664 -0.2075)
OKLCHoklch(57.25% 0.266 308.7)
XYZxyz(31.2681, 15.5156, 79.9288)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528EB #6EEB28
analogous
#4428EB #A528EB #EB28CF
triadic
#A528EB #EBA528 #28EBA5
tetradic
#A528EB #EB4428 #6EEB28 #28CFEB
square
#A528EB #EB4428 #6EEB28 #28CFEB
split-complementary
#A528EB #CFEB28 #28EB44
monochromatic
#5E0D8C #8412C4 #A528EB #BC60F0 #D498F5

Accessibility & contrast

On white

5.12
#A528EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A528EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528EB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528EB#FFFFFF#000000##FFFFFF
##A528EB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F0
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#9A5E8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a528eb;
/* rgb */ color: rgb(165, 40, 235);
/* oklch */ color: oklch(57.2% 0.266 308.7);
Tailwind
colors: {
  custom: {
    50: '#c674f3',
    500: '#a528eb',
    950: '#000000',
  },
}
SCSS
$custom: #a528eb;
$custom-light: #c674f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a528eb",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 235
  },
  "hsl": {
    "h": 278.462,
    "s": 82.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.26596,
    "h": 308.7
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#A528EB
secondary
#ACE18E
accent
#F92E77
background
#FCF7FF
surface
#F9EEFE
border
#D2C9D6
text
#140917
muted
#827B85

Preview Lab

Preview with #A528EB

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

Preview Lab → · Contrast checker → · Palette generator →

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