#C938BB#C938BB

#C938BB is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.227 H 332.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C938BB
RGBrgb(201, 56, 187)
HSLhsl(306, 57%, 50%)
HSVhsv(306, 72%, 79%)
CMYKcmyk(0%, 72.1%, 7%, 21.2%)
CIE-LABlab(50.50, 69.95, -38.43)
CIE-LCHlch(50.50, 79.81, 331.21°)
OKLaboklab(60.32% 0.2009 -0.1056)
OKLCHoklch(60.32% 0.227 332.3)
XYZxyz(34.4713, 18.8365, 48.8244)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938BB #38C946
analogous
#8E38C9 #C938BB #C93872
triadic
#C938BB #BBC938 #38BBC9
tetradic
#C938BB #C98E38 #38C946 #3872C9
square
#C938BB #C98E38 #38C946 #3872C9
split-complementary
#C938BB #72C938 #38C98E
monochromatic
#6A1D62 #9A2A8F #C938BB #D668CB #E398DC

Accessibility & contrast

On white

4.41
#C938BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C938BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938BB#FFFFFF#000000##000000
##C938BB1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#D24876
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c938bb;
/* rgb */ color: rgb(201, 56, 187);
/* oklch */ color: oklch(60.3% 0.227 332.3);
Tailwind
colors: {
  custom: {
    50: '#dd7cd0',
    500: '#c938bb',
    950: '#000000',
  },
}
SCSS
$custom: #c938bb;
$custom-light: #dd7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#c938bb",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 305.793,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6032,
    "c": 0.22699,
    "h": 332.3
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#C938BB
secondary
#8ECF94
accent
#E15647
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C938BB

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

Preview Lab → · Contrast checker → · Palette generator →

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