#A938CA#A938CA

#A938CA is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.224 H 317.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A938CA
RGBrgb(169, 56, 202)
HSLhsl(286, 58%, 51%)
HSVhsv(286, 72%, 79%)
CMYKcmyk(16.3%, 72.3%, 0%, 20.8%)
CIE-LABlab(46.35, 65.66, -54.03)
CIE-LCHlch(46.35, 85.03, 320.55°)
OKLaboklab(56.65% 0.1653 -0.1519)
OKLCHoklch(56.65% 0.224 317.4)
XYZxyz(28.4355, 15.5289, 57.3652)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938CA #59CA38
analogous
#6038CA #A938CA #CA38A2
triadic
#A938CA #CAA938 #38CAA9
tetradic
#A938CA #CA6038 #59CA38 #38A2CA
square
#A938CA #CA6038 #59CA38 #38A2CA
split-complementary
#A938CA #A2CA38 #38CA60
monochromatic
#591D6B #82299B #A938CA #BE68D7 #D399E4

Accessibility & contrast

On white

5.11
#A938CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A938CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938CA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938CA#FFFFFF#000000##FFFFFF
##A938CA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#A8567E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a938ca;
/* rgb */ color: rgb(169, 56, 202);
/* oklch */ color: oklch(56.6% 0.224 317.4);
Tailwind
colors: {
  custom: {
    50: '#c779db',
    500: '#a938ca',
    950: '#000000',
  },
}
SCSS
$custom: #a938ca;
$custom-light: #c779db;
$custom-dark: #000000;
JSON
{
  "hex": "#a938ca",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 286.438,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.22447,
    "h": 317.4
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#A938CA
secondary
#9DCF8E
accent
#E1476A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A938CA

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

Preview Lab → · Contrast checker → · Palette generator →

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