#A938CE#A938CE

#A938CE is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.228 H 316.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A938CE
RGBrgb(169, 56, 206)
HSLhsl(285, 60%, 51%)
HSVhsv(285, 73%, 81%)
CMYKcmyk(18%, 72.8%, 0%, 19.2%)
CIE-LABlab(46.61, 66.42, -55.93)
CIE-LCHlch(46.61, 86.83, 319.90°)
OKLaboklab(56.91% 0.1649 -0.1574)
OKLCHoklch(56.91% 0.228 316.3)
XYZxyz(28.9152, 15.7208, 59.8918)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938CE #5DCE38
analogous
#5E38CE #A938CE #CE38A8
triadic
#A938CE #CEA938 #38CEA9
tetradic
#A938CE #CE5E38 #5DCE38 #38A8CE
square
#A938CE #CE5E38 #5DCE38 #38A8CE
split-complementary
#A938CE #A8CE38 #38CE5E
monochromatic
#5B1C70 #8328A1 #A938CE #BE69DA #D39AE6

Accessibility & contrast

On white

5.07
#A938CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A938CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938CE#FFFFFF#000000##FFFFFF
##A938CE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#A75880
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a938ce;
/* rgb */ color: rgb(169, 56, 206);
/* oklch */ color: oklch(56.9% 0.228 316.3);
Tailwind
colors: {
  custom: {
    50: '#c779de',
    500: '#a938ce',
    950: '#000000',
  },
}
SCSS
$custom: #a938ce;
$custom-light: #c779de;
$custom-dark: #000000;
JSON
{
  "hex": "#a938ce",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 285.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.22797,
    "h": 316.3
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#A938CE
secondary
#A0D290
accent
#E4446C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A938CE

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

Preview Lab → · Contrast checker → · Palette generator →

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