#A538DB#A538DB

#A538DB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.238 H 311.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A538DB
RGBrgb(165, 56, 219)
HSLhsl(280, 69%, 54%)
HSVhsv(280, 74%, 86%)
CMYKcmyk(24.7%, 74.4%, 0%, 14.1%)
CIE-LABlab(46.90, 68.23, -62.94)
CIE-LCHlch(46.90, 92.83, 317.31°)
OKLaboklab(57.28% 0.1581 -0.1782)
OKLCHoklch(57.28% 0.238 311.6)
XYZxyz(29.7150, 15.9429, 68.5161)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538DB #6EDB38
analogous
#5438DB #A538DB #DB38C0
triadic
#A538DB #DBA538 #38DBA5
tetradic
#A538DB #DB5438 #6EDB38 #38C0DB
square
#A538DB #DB5438 #6EDB38 #38C0DB
split-complementary
#A538DB #C0DB38 #38DB54
monochromatic
#5E1781 #8421B5 #A538DB #BC6CE4 #D4A0EE

Accessibility & contrast

On white

5.01
#A538DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A538DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538DB#FFFFFF#000000##FFFFFF
##A538DB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#9E5E88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a538db;
/* rgb */ color: rgb(165, 56, 219);
/* oklch */ color: oklch(57.3% 0.238 311.6);
Tailwind
colors: {
  custom: {
    50: '#c579e7',
    500: '#a538db',
    950: '#000000',
  },
}
SCSS
$custom: #a538db;
$custom-light: #c579e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a538db",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 280.123,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.23819,
    "h": 311.6
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#A538DB
secondary
#ACDA95
accent
#EC3C76
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A538DB

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

Preview Lab → · Contrast checker → · Palette generator →

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