#A938CF#A938CF

#A938CF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.229 H 316.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A938CF
RGBrgb(169, 56, 207)
HSLhsl(285, 61%, 52%)
HSVhsv(285, 73%, 81%)
CMYKcmyk(18.4%, 72.9%, 0%, 18.8%)
CIE-LABlab(46.67, 66.62, -56.40)
CIE-LCHlch(46.67, 87.29, 319.75°)
OKLaboklab(56.98% 0.1648 -0.1588)
OKLCHoklch(56.98% 0.229 316)
XYZxyz(29.0371, 15.7695, 60.5337)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938CF #5ECF38
analogous
#5E38CF #A938CF #CF38AA
triadic
#A938CF #CFA938 #38CFA9
tetradic
#A938CF #CF5E38 #5ECF38 #38AACF
square
#A938CF #CF5E38 #5ECF38 #38AACF
split-complementary
#A938CF #AACF38 #38CF5E
monochromatic
#5C1B71 #8427A3 #A938CF #BE69DB #D49BE7

Accessibility & contrast

On white

5.06
#A938CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A938CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938CF#FFFFFF#000000##FFFFFF
##A938CF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#A65881
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a938cf;
/* rgb */ color: rgb(169, 56, 207);
/* oklch */ color: oklch(57.0% 0.229 316.0);
Tailwind
colors: {
  custom: {
    50: '#c779de',
    500: '#a938cf',
    950: '#000000',
  },
}
SCSS
$custom: #a938cf;
$custom-light: #c779de;
$custom-dark: #000000;
JSON
{
  "hex": "#a938cf",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 284.901,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.22884,
    "h": 316
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A938CF

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

Preview Lab → · Contrast checker → · Palette generator →

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