#C938B2#C938B2

#C938B2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.221 H 335.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C938B2
RGBrgb(201, 56, 178)
HSLhsl(310, 57%, 50%)
HSVhsv(310, 72%, 79%)
CMYKcmyk(0%, 72.1%, 11.4%, 21.2%)
CIE-LABlab(50.05, 68.61, -33.88)
CIE-LCHlch(50.05, 76.52, 333.72°)
OKLaboklab(59.86% 0.2003 -0.0925)
OKLCHoklch(59.86% 0.221 335.2)
XYZxyz(33.5379, 18.4632, 43.9083)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938B2 #38C94F
analogous
#9738C9 #C938B2 #C9386A
triadic
#C938B2 #B2C938 #38B2C9
tetradic
#C938B2 #C99738 #38C94F #386AC9
square
#C938B2 #C99738 #38C94F #386AC9
split-complementary
#C938B2 #6AC938 #38C997
monochromatic
#6A1D5E #9A2A88 #C938B2 #D668C5 #E398D7

Accessibility & contrast

On white

4.48
#C938B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C938B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938B2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938B2#FFFFFF#000000##000000
##C938B21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#D34371
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c938b2;
/* rgb */ color: rgb(201, 56, 178);
/* oklch */ color: oklch(59.9% 0.221 335.2);
Tailwind
colors: {
  custom: {
    50: '#dd7cc9',
    500: '#c938b2',
    950: '#000000',
  },
}
SCSS
$custom: #c938b2;
$custom-light: #dd7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c938b2",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 309.517,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.22062,
    "h": 335.2
  },
  "luminance": 0.1846
}

Semantic roles & 50–950 ramp

primary
#C938B2
secondary
#8ECF98
accent
#E16047
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C938B2

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

Preview Lab → · Contrast checker → · Palette generator →

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