#C938B3#C938B3

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

Color values

HEX#C938B3
RGBrgb(201, 56, 179)
HSLhsl(309, 57%, 50%)
HSVhsv(309, 72%, 79%)
CMYKcmyk(0%, 72.1%, 10.9%, 21.2%)
CIE-LABlab(50.10, 68.76, -34.39)
CIE-LCHlch(50.10, 76.87, 333.43°)
OKLaboklab(59.91% 0.2004 -0.094)
OKLCHoklch(59.91% 0.221 334.9)
XYZxyz(33.6386, 18.5035, 44.4390)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938B3 #38C94E
analogous
#9638C9 #C938B3 #C9386B
triadic
#C938B3 #B3C938 #38B3C9
tetradic
#C938B3 #C99638 #38C94E #386BC9
square
#C938B3 #C99638 #38C94E #386BC9
split-complementary
#C938B3 #6BC938 #38C996
monochromatic
#6A1D5E #9A2A89 #C938B3 #D668C5 #E398D8

Accessibility & contrast

On white

4.47
#C938B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C938B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938B3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938B3#FFFFFF#000000##000000
##C938B31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#376AB6
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#D34472
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c938b3;
/* rgb */ color: rgb(201, 56, 179);
/* oklch */ color: oklch(59.9% 0.221 334.9);
Tailwind
colors: {
  custom: {
    50: '#dd7cca',
    500: '#c938b3',
    950: '#000000',
  },
}
SCSS
$custom: #c938b3;
$custom-light: #dd7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#c938b3",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 309.103,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59908,
    "c": 0.22132,
    "h": 334.9
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C938B3

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

Preview Lab → · Contrast checker → · Palette generator →

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