#A938CC#A938CC

#A938CC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.226 H 316.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A938CC
RGBrgb(169, 56, 204)
HSLhsl(286, 59%, 51%)
HSVhsv(286, 73%, 80%)
CMYKcmyk(17.2%, 72.5%, 0%, 20%)
CIE-LABlab(46.48, 66.04, -54.98)
CIE-LCHlch(46.48, 85.93, 320.22°)
OKLaboklab(56.78% 0.1651 -0.1547)
OKLCHoklch(56.78% 0.226 316.9)
XYZxyz(28.6738, 15.6242, 58.6204)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938CC #5BCC38
analogous
#5F38CC #A938CC #CC38A5
triadic
#A938CC #CCA938 #38CCA9
tetradic
#A938CC #CC5F38 #5BCC38 #38A5CC
square
#A938CC #CC5F38 #5BCC38 #38A5CC
split-complementary
#A938CC #A5CC38 #38CC5F
monochromatic
#5A1C6E #82299E #A938CC #BE69D8 #D399E5

Accessibility & contrast

On white

5.09
#A938CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A938CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938CC#FFFFFF#000000##FFFFFF
##A938CC1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#3A71C9
Tritanopia (blue-blind)
#A7577F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a938cc;
/* rgb */ color: rgb(169, 56, 204);
/* oklch */ color: oklch(56.8% 0.226 316.9);
Tailwind
colors: {
  custom: {
    50: '#c779dc',
    500: '#a938cc',
    950: '#000000',
  },
}
SCSS
$custom: #a938cc;
$custom-light: #c779dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a938cc",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 285.811,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.22622,
    "h": 316.9
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#A938CC
secondary
#9FD18F
accent
#E2456B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A938CC

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

Preview Lab → · Contrast checker → · Palette generator →

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