#C938BF#C938BF

#C938BF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.230 H 331.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C938BF
RGBrgb(201, 56, 191)
HSLhsl(304, 57%, 50%)
HSVhsv(304, 72%, 79%)
CMYKcmyk(0%, 72.1%, 5%, 21.2%)
CIE-LABlab(50.70, 70.56, -40.44)
CIE-LCHlch(50.70, 81.33, 330.19°)
OKLaboklab(60.53% 0.2011 -0.1114)
OKLCHoklch(60.53% 0.23 331)
XYZxyz(34.9055, 19.0102, 51.1110)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938BF #38C942
analogous
#8A38C9 #C938BF #C93876
triadic
#C938BF #BFC938 #38BFC9
tetradic
#C938BF #C98A38 #38C942 #3876C9
square
#C938BF #C98A38 #38C942 #3876C9
split-complementary
#C938BF #76C938 #38C98A
monochromatic
#6A1D65 #9A2A92 #C938BF #D668CE #E398DE

Accessibility & contrast

On white

4.37
#C938BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C938BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938BF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938BF#FFFFFF#000000##000000
##C938BF1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#D14A78
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c938bf;
/* rgb */ color: rgb(201, 56, 191);
/* oklch */ color: oklch(60.5% 0.230 331.0);
Tailwind
colors: {
  custom: {
    50: '#dd7dd3',
    500: '#c938bf',
    950: '#000000',
  },
}
SCSS
$custom: #c938bf;
$custom-light: #dd7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c938bf",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 304.138,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.22989,
    "h": 331
  },
  "luminance": 0.19007
}

Semantic roles & 50–950 ramp

primary
#C938BF
secondary
#8ECF93
accent
#E15247
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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