#A938D5#A938D5

#A938D5 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.234 H 314.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A938D5
RGBrgb(169, 56, 213)
HSLhsl(283, 65%, 53%)
HSVhsv(283, 74%, 84%)
CMYKcmyk(20.7%, 73.7%, 0%, 16.5%)
CIE-LABlab(47.06, 67.79, -59.21)
CIE-LCHlch(47.06, 90.01, 318.86°)
OKLaboklab(57.38% 0.164 -0.1671)
OKLCHoklch(57.38% 0.234 314.5)
XYZxyz(29.7846, 16.0685, 64.4705)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938D5 #64D538
analogous
#5B38D5 #A938D5 #D538B2
triadic
#A938D5 #D5A938 #38D5A9
tetradic
#A938D5 #D55B38 #64D538 #38B2D5
square
#A938D5 #D55B38 #64D538 #38B2D5
split-complementary
#A938D5 #B2D538 #38D55B
monochromatic
#5E1A79 #8624AC #A938D5 #BF6BE0 #D59DEA

Accessibility & contrast

On white

4.98
#A938D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A938D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938D5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938D5#FFFFFF#000000##FFFFFF
##A938D51.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#2F72D2
Tritanopia (blue-blind)
#A55B84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a938d5;
/* rgb */ color: rgb(169, 56, 213);
/* oklch */ color: oklch(57.4% 0.234 314.5);
Tailwind
colors: {
  custom: {
    50: '#c77ae3',
    500: '#a938d5',
    950: '#000000',
  },
}
SCSS
$custom: #a938d5;
$custom-light: #c77ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#a938d5",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 283.185,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57382,
    "c": 0.23411,
    "h": 314.5
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#A938D5
secondary
#A5D692
accent
#E8406F
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A15
muted
#827C84

Preview Lab

Preview with #A938D5

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

Preview Lab → · Contrast checker → · Palette generator →

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