#A938C6#A938C6

#A938C6 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.221 H 318.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A938C6
RGBrgb(169, 56, 198)
HSLhsl(288, 56%, 50%)
HSVhsv(288, 72%, 78%)
CMYKcmyk(14.6%, 71.7%, 0%, 22.4%)
CIE-LABlab(46.10, 64.90, -52.12)
CIE-LCHlch(46.10, 83.24, 321.23°)
OKLaboklab(56.39% 0.1656 -0.1463)
OKLCHoklch(56.39% 0.221 318.5)
XYZxyz(27.9680, 15.3419, 54.9032)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938C6 #55C638
analogous
#6238C6 #A938C6 #C6389C
triadic
#A938C6 #C6A938 #38C6A9
tetradic
#A938C6 #C66238 #55C638 #389CC6
square
#A938C6 #C66238 #55C638 #389CC6
split-complementary
#A938C6 #9CC638 #38C662
monochromatic
#581D67 #802B96 #A938C6 #BE67D4 #D297E2

Accessibility & contrast

On white

5.16
#A938C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A938C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938C6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938C6#FFFFFF#000000##FFFFFF
##A938C61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#4071C3
Tritanopia (blue-blind)
#A8547C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a938c6;
/* rgb */ color: rgb(169, 56, 198);
/* oklch */ color: oklch(56.4% 0.221 318.5);
Tailwind
colors: {
  custom: {
    50: '#c779d8',
    500: '#a938c6',
    950: '#000000',
  },
}
SCSS
$custom: #a938c6;
$custom-light: #c779d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a938c6",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 287.746,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.22099,
    "h": 318.5
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#A938C6
secondary
#9ACD8D
accent
#DF4967
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A938C6

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

Preview Lab → · Contrast checker → · Palette generator →

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