#A938D0#A938D0

#A938D0 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.230 H 315.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A938D0
RGBrgb(169, 56, 208)
HSLhsl(285, 62%, 52%)
HSVhsv(285, 73%, 82%)
CMYKcmyk(18.8%, 73.1%, 0%, 18.4%)
CIE-LABlab(46.74, 66.81, -56.87)
CIE-LCHlch(46.74, 87.74, 319.60°)
OKLaboklab(57.04% 0.1646 -0.1602)
OKLCHoklch(57.04% 0.23 315.8)
XYZxyz(29.1597, 15.8186, 61.1796)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938D0 #5FD038
analogous
#5D38D0 #A938D0 #D038AB
triadic
#A938D0 #D0A938 #38D0A9
tetradic
#A938D0 #D05D38 #5FD038 #38ABD0
square
#A938D0 #D05D38 #5FD038 #38ABD0
split-complementary
#A938D0 #ABD038 #38D05D
monochromatic
#5C1B73 #8427A4 #A938D0 #BE6ADC #D49BE7

Accessibility & contrast

On white

5.04
#A938D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A938D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938D0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938D0#FFFFFF#000000##FFFFFF
##A938D01.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#3572CD
Tritanopia (blue-blind)
#A65981
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a938d0;
/* rgb */ color: rgb(169, 56, 208);
/* oklch */ color: oklch(57.0% 0.230 315.8);
Tailwind
colors: {
  custom: {
    50: '#c779df',
    500: '#a938d0',
    950: '#000000',
  },
}
SCSS
$custom: #a938d0;
$custom-light: #c779df;
$custom-dark: #000000;
JSON
{
  "hex": "#a938d0",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 284.605,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.22972,
    "h": 315.8
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#A938D0
secondary
#A2D391
accent
#E5436C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A938D0

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

Preview Lab → · Contrast checker → · Palette generator →

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