#A938BC#A938BC

#A938BC is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.212 H 321.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A938BC
RGBrgb(169, 56, 188)
HSLhsl(291, 54%, 48%)
HSVhsv(291, 70%, 74%)
CMYKcmyk(10.1%, 70.2%, 0%, 26.3%)
CIE-LABlab(45.49, 63.04, -47.27)
CIE-LCHlch(45.49, 78.79, 323.13°)
OKLaboklab(55.76% 0.1663 -0.1321)
OKLCHoklch(55.76% 0.212 321.5)
XYZxyz(26.8525, 14.8956, 49.0279)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938BC #4BBC38
analogous
#6738BC #A938BC #BC388D
triadic
#A938BC #BCA938 #38BCA9
tetradic
#A938BC #BC6738 #4BBC38 #388DBC
square
#A938BC #BC6738 #4BBC38 #388DBC
split-complementary
#A938BC #8DBC38 #38BC67
monochromatic
#541C5E #7F2A8D #A938BC #C061D0 #D390DE

Accessibility & contrast

On white

5.28
#A938BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A938BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938BC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938BC#FFFFFF#000000##FFFFFF
##A938BC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#AB5076
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a938bc;
/* rgb */ color: rgb(169, 56, 188);
/* oklch */ color: oklch(55.8% 0.212 321.5);
Tailwind
colors: {
  custom: {
    50: '#c679d1',
    500: '#a938bc',
    950: '#000000',
  },
}
SCSS
$custom: #a938bc;
$custom-light: #c679d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a938bc",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 291.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.21236,
    "h": 321.5
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#A938BC
secondary
#90C987
accent
#DD4A60
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A938BC

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

Preview Lab → · Contrast checker → · Palette generator →

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