#A938DC#A938DC

#A938DC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.9% C 0.240 H 312.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A938DC
RGBrgb(169, 56, 220)
HSLhsl(281, 70%, 54%)
HSVhsv(281, 75%, 86%)
CMYKcmyk(23.2%, 74.5%, 0%, 13.7%)
CIE-LABlab(47.54, 69.17, -62.45)
CIE-LCHlch(47.54, 93.19, 317.92°)
OKLaboklab(57.87% 0.163 -0.1766)
OKLCHoklch(57.87% 0.24 312.7)
XYZxyz(30.6923, 16.4316, 69.2511)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938DC #6BDC38
analogous
#5738DC #A938DC #DC38BD
triadic
#A938DC #DCA938 #38DCA9
tetradic
#A938DC #DC5738 #6BDC38 #38BDDC
square
#A938DC #DC5738 #6BDC38 #38BDDC
split-complementary
#A938DC #BDDC38 #38DC57
monochromatic
#611783 #8820B7 #A938DC #BF6CE5 #D6A0EE

Accessibility & contrast

On white

4.90
#A938DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A938DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938DC#FFFFFF#000000##FFFFFF
##A938DC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#A35E88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a938dc;
/* rgb */ color: rgb(169, 56, 220);
/* oklch */ color: oklch(57.9% 0.240 312.7);
Tailwind
colors: {
  custom: {
    50: '#c77ae8',
    500: '#a938dc',
    950: '#000000',
  },
}
SCSS
$custom: #a938dc;
$custom-light: #c77ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#a938dc",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 220
  },
  "hsl": {
    "h": 281.341,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.2403,
    "h": 312.7
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#A938DC
secondary
#ABDB95
accent
#ED3B72
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A938DC

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

Preview Lab → · Contrast checker → · Palette generator →

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