#A938CB#A938CB

#A938CB is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.225 H 317.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A938CB
RGBrgb(169, 56, 203)
HSLhsl(286, 59%, 51%)
HSVhsv(286, 72%, 80%)
CMYKcmyk(16.7%, 72.4%, 0%, 20.4%)
CIE-LABlab(46.41, 65.85, -54.51)
CIE-LCHlch(46.41, 85.48, 320.38°)
OKLaboklab(56.71% 0.1652 -0.1533)
OKLCHoklch(56.71% 0.225 317.1)
XYZxyz(28.5543, 15.5764, 57.9908)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A938CB #5ACB38
analogous
#5F38CB #A938CB #CB38A4
triadic
#A938CB #CBA938 #38CBA9
tetradic
#A938CB #CB5F38 #5ACB38 #38A4CB
square
#A938CB #CB5F38 #5ACB38 #38A4CB
split-complementary
#A938CB #A4CB38 #38CB5F
monochromatic
#5A1C6C #82299D #A938CB #BE69D8 #D399E4

Accessibility & contrast

On white

5.10
#A938CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A938CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A938CB#FFFFFF#000000##FFFFFF
##A938CB1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#3B71C8
Tritanopia (blue-blind)
#A7567F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a938cb;
/* rgb */ color: rgb(169, 56, 203);
/* oklch */ color: oklch(56.7% 0.225 317.1);
Tailwind
colors: {
  custom: {
    50: '#c779dc',
    500: '#a938cb',
    950: '#000000',
  },
}
SCSS
$custom: #a938cb;
$custom-light: #c779dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a938cb",
  "rgb": {
    "r": 169,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 286.122,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.22534,
    "h": 317.1
  },
  "luminance": 0.15575
}

Semantic roles & 50–950 ramp

primary
#A938CB
secondary
#9ED08F
accent
#E2466A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A938CB

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

Preview Lab → · Contrast checker → · Palette generator →

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