#A938DB#A938DB

#A938DB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.239 H 312.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A938DB
RGBrgb(169, 56, 219)
HSLhsl(282, 69%, 54%)
HSVhsv(282, 74%, 86%)
CMYKcmyk(22.8%, 74.4%, 0%, 14.1%)
CIE-LABlab(47.47, 68.97, -61.99)
CIE-LCHlch(47.47, 92.74, 318.05°)
OKLaboklab(57.79% 0.1631 -0.1752)
OKLCHoklch(57.79% 0.239 312.9)
XYZxyz(30.5603, 16.3788, 68.5557)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938DB #6ADB38
analogous
#5838DB #A938DB #DB38BC
triadic
#A938DB #DBA938 #38DBA9
tetradic
#A938DB #DB5838 #6ADB38 #38BCDB
square
#A938DB #DB5838 #6ADB38 #38BCDB
split-complementary
#A938DB #BCDB38 #38DB58
monochromatic
#611781 #8821B5 #A938DB #BF6CE4 #D6A0EE

Accessibility & contrast

On white

4.91
#A938DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A938DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938DB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938DB#FFFFFF#000000##FFFFFF
##A938DB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#2573D8
Tritanopia (blue-blind)
#A35D88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a938db;
/* rgb */ color: rgb(169, 56, 219);
/* oklch */ color: oklch(57.8% 0.239 312.9);
Tailwind
colors: {
  custom: {
    50: '#c77ae7',
    500: '#a938db',
    950: '#000000',
  },
}
SCSS
$custom: #a938db;
$custom-light: #c77ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a938db",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 281.595,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57795,
    "c": 0.23941,
    "h": 312.9
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#A938DB
secondary
#AADA95
accent
#EC3C72
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A938DB

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

Preview Lab → · Contrast checker → · Palette generator →

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