#A938D1#A938D1

#A938D1 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.231 H 315.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A938D1
RGBrgb(169, 56, 209)
HSLhsl(284, 62%, 52%)
HSVhsv(284, 73%, 82%)
CMYKcmyk(19.1%, 73.2%, 0%, 18%)
CIE-LABlab(46.80, 67.01, -57.34)
CIE-LCHlch(46.80, 88.19, 319.44°)
OKLaboklab(57.11% 0.1645 -0.1616)
OKLCHoklch(57.11% 0.231 315.5)
XYZxyz(29.2831, 15.8679, 61.8295)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938D1 #60D138
analogous
#5D38D1 #A938D1 #D138AC
triadic
#A938D1 #D1A938 #38D1A9
tetradic
#A938D1 #D15D38 #60D138 #38ACD1
square
#A938D1 #D15D38 #60D138 #38ACD1
split-complementary
#A938D1 #ACD138 #38D15D
monochromatic
#5D1B74 #8426A6 #A938D1 #BE6ADC #D49BE8

Accessibility & contrast

On white

5.03
#A938D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A938D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938D1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938D1#FFFFFF#000000##FFFFFF
##A938D11.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#3472CE
Tritanopia (blue-blind)
#A65982
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a938d1;
/* rgb */ color: rgb(169, 56, 209);
/* oklch */ color: oklch(57.1% 0.231 315.5);
Tailwind
colors: {
  custom: {
    50: '#c779e0',
    500: '#a938d1',
    950: '#000000',
  },
}
SCSS
$custom: #a938d1;
$custom-light: #c779e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a938d1",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 284.314,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.2306,
    "h": 315.5
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#A938D1
secondary
#A2D491
accent
#E6426D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A938D1

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

Preview Lab → · Contrast checker → · Palette generator →

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