#A938D7#A938D7

#A938D7 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.236 H 314.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A938D7
RGBrgb(169, 56, 215)
HSLhsl(283, 67%, 53%)
HSVhsv(283, 74%, 84%)
CMYKcmyk(21.4%, 74%, 0%, 15.7%)
CIE-LABlab(47.20, 68.18, -60.14)
CIE-LCHlch(47.20, 90.92, 318.58°)
OKLaboklab(57.52% 0.1637 -0.1698)
OKLCHoklch(57.52% 0.236 314)
XYZxyz(30.0400, 16.1707, 65.8156)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938D7 #66D738
analogous
#5A38D7 #A938D7 #D738B5
triadic
#A938D7 #D7A938 #38D7A9
tetradic
#A938D7 #D75A38 #66D738 #38B5D7
square
#A938D7 #D75A38 #66D738 #38B5D7
split-complementary
#A938D7 #B5D738 #38D75A
monochromatic
#5F197C #8623AF #A938D7 #BF6BE1 #D59EEB

Accessibility & contrast

On white

4.96
#A938D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A938D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A938D7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938D7#FFFFFF#000000##FFFFFF
##A938D71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#2C73D4
Tritanopia (blue-blind)
#A45C85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a938d7;
/* rgb */ color: rgb(169, 56, 215);
/* oklch */ color: oklch(57.5% 0.236 314.0);
Tailwind
colors: {
  custom: {
    50: '#c77ae4',
    500: '#a938d7',
    950: '#000000',
  },
}
SCSS
$custom: #a938d7;
$custom-light: #c77ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#a938d7",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 215
  },
  "hsl": {
    "h": 282.642,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.23588,
    "h": 314
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#A938D7
secondary
#A7D893
accent
#E93E70
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A938D7

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

Preview Lab → · Contrast checker → · Palette generator →

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