#A938CD#A938CD

#A938CD is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.227 H 316.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A938CD
RGBrgb(169, 56, 205)
HSLhsl(286, 60%, 51%)
HSVhsv(286, 73%, 80%)
CMYKcmyk(17.6%, 72.7%, 0%, 19.6%)
CIE-LABlab(46.54, 66.23, -55.46)
CIE-LCHlch(46.54, 86.38, 320.06°)
OKLaboklab(56.85% 0.165 -0.1561)
OKLCHoklch(56.85% 0.227 316.6)
XYZxyz(28.7941, 15.6723, 59.2541)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938CD #5CCD38
analogous
#5E38CD #A938CD #CD38A6
triadic
#A938CD #CDA938 #38CDA9
tetradic
#A938CD #CD5E38 #5CCD38 #38A6CD
square
#A938CD #CD5E38 #5CCD38 #38A6CD
split-complementary
#A938CD #A6CD38 #38CD5E
monochromatic
#5B1C6F #8328A0 #A938CD #BE69D9 #D39AE6

Accessibility & contrast

On white

5.08
#A938CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A938CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938CD#FFFFFF#000000##FFFFFF
##A938CD1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#3971CA
Tritanopia (blue-blind)
#A75780
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a938cd;
/* rgb */ color: rgb(169, 56, 205);
/* oklch */ color: oklch(56.8% 0.227 316.6);
Tailwind
colors: {
  custom: {
    50: '#c779dd',
    500: '#a938cd',
    950: '#000000',
  },
}
SCSS
$custom: #a938cd;
$custom-light: #c779dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a938cd",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 285.503,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.22709,
    "h": 316.6
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#A938CD
secondary
#9FD18F
accent
#E3456B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A938CD

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

Preview Lab → · Contrast checker → · Palette generator →

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