#A938BD#A938BD

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

Color values

HEX#A938BD
RGBrgb(169, 56, 189)
HSLhsl(291, 54%, 48%)
HSVhsv(291, 70%, 74%)
CMYKcmyk(10.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(45.55, 63.22, -47.76)
CIE-LCHlch(45.55, 79.24, 322.93°)
OKLaboklab(55.82% 0.1662 -0.1335)
OKLCHoklch(55.82% 0.213 321.2)
XYZxyz(26.9606, 14.9389, 49.5976)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938BD #4CBD38
analogous
#6638BD #A938BD #BD388F
triadic
#A938BD #BDA938 #38BDA9
tetradic
#A938BD #BD6638 #4CBD38 #388FBD
square
#A938BD #BD6638 #4CBD38 #388FBD
split-complementary
#A938BD #8FBD38 #38BD66
monochromatic
#551C5F #7F2A8E #A938BD #C062D0 #D391DE

Accessibility & contrast

On white

5.27
#A938BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A938BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938BD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938BD#FFFFFF#000000##FFFFFF
##A938BD1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#AA5077
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a938bd;
/* rgb */ color: rgb(169, 56, 189);
/* oklch */ color: oklch(55.8% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#c679d1',
    500: '#a938bd',
    950: '#000000',
  },
}
SCSS
$custom: #a938bd;
$custom-light: #c679d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a938bd",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 290.977,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55821,
    "c": 0.21323,
    "h": 321.2
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#A938BD
secondary
#91C987
accent
#DE4A60
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A938BD

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

Preview Lab → · Contrast checker → · Palette generator →

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