#A938BA#A938BA

#A938BA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.211 H 322.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A938BA
RGBrgb(169, 56, 186)
HSLhsl(292, 54%, 47%)
HSVhsv(292, 70%, 73%)
CMYKcmyk(9.1%, 69.9%, 0%, 27.1%)
CIE-LABlab(45.37, 62.67, -46.29)
CIE-LCHlch(45.37, 77.92, 323.55°)
OKLaboklab(55.64% 0.1664 -0.1292)
OKLCHoklch(55.64% 0.211 322.2)
XYZxyz(26.6384, 14.8100, 47.9004)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938BA #49BA38
analogous
#6838BA #A938BA #BA388A
triadic
#A938BA #BAA938 #38BAA9
tetradic
#A938BA #BA6838 #49BA38 #388ABA
square
#A938BA #BA6838 #49BA38 #388ABA
split-complementary
#A938BA #8ABA38 #38BA68
monochromatic
#541C5C #7E2A8B #A938BA #C160CF #D38FDD

Accessibility & contrast

On white

5.30
#A938BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A938BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938BA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938BA#FFFFFF#000000##FFFFFF
##A938BA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0563BE
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#AB4F75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a938ba;
/* rgb */ color: rgb(169, 56, 186);
/* oklch */ color: oklch(55.6% 0.211 322.2);
Tailwind
colors: {
  custom: {
    50: '#c679cf',
    500: '#a938ba',
    950: '#000000',
  },
}
SCSS
$custom: #a938ba;
$custom-light: #c679cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a938ba",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 292.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.21066,
    "h": 322.2
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#A938BA
secondary
#8EC886
accent
#DD4B5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A938BA

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

Preview Lab → · Contrast checker → · Palette generator →

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