#C938BD#C938BD

#C938BD is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.228 H 331.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C938BD
RGBrgb(201, 56, 189)
HSLhsl(305, 57%, 50%)
HSVhsv(305, 72%, 79%)
CMYKcmyk(0%, 72.1%, 6%, 21.2%)
CIE-LABlab(50.60, 70.26, -39.44)
CIE-LCHlch(50.60, 80.57, 330.69°)
OKLaboklab(60.43% 0.201 -0.1085)
OKLCHoklch(60.43% 0.228 331.6)
XYZxyz(34.6869, 18.9228, 49.9598)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938BD #38C944
analogous
#8D38C9 #C938BD #C93874
triadic
#C938BD #BDC938 #38BDC9
tetradic
#C938BD #C98D38 #38C944 #3874C9
square
#C938BD #C98D38 #38C944 #3874C9
split-complementary
#C938BD #74C938 #38C98D
monochromatic
#6A1D63 #9A2A91 #C938BD #D668CD #E398DD

Accessibility & contrast

On white

4.39
#C938BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C938BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938BD#FFFFFF#000000##000000
##C938BD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC1
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#D14977
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c938bd;
/* rgb */ color: rgb(201, 56, 189);
/* oklch */ color: oklch(60.4% 0.228 331.6);
Tailwind
colors: {
  custom: {
    50: '#dd7dd1',
    500: '#c938bd',
    950: '#000000',
  },
}
SCSS
$custom: #c938bd;
$custom-light: #dd7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c938bd",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 304.966,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.22844,
    "h": 331.6
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

primary
#C938BD
secondary
#8ECF93
accent
#E15447
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C938BD

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

Preview Lab → · Contrast checker → · Palette generator →

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