#C938C2#C938C2

#C938C2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.232 H 330.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C938C2
RGBrgb(201, 56, 194)
HSLhsl(303, 57%, 50%)
HSVhsv(303, 72%, 79%)
CMYKcmyk(0%, 72.1%, 3.5%, 21.2%)
CIE-LABlab(50.85, 71.03, -41.93)
CIE-LCHlch(50.85, 82.48, 329.45°)
OKLaboklab(60.69% 0.2012 -0.1157)
OKLCHoklch(60.69% 0.232 330.1)
XYZxyz(35.2390, 19.1436, 52.8676)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938C2 #38C93F
analogous
#8838C9 #C938C2 #C93879
triadic
#C938C2 #C2C938 #38C2C9
tetradic
#C938C2 #C98838 #38C93F #3879C9
square
#C938C2 #C98838 #38C93F #3879C9
split-complementary
#C938C2 #79C938 #38C988
monochromatic
#6A1D66 #9A2A95 #C938C2 #D668D1 #E398E0

Accessibility & contrast

On white

4.35
#C938C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C938C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938C2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938C2#FFFFFF#000000##000000
##C938C21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#276DC6
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#D04B7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c938c2;
/* rgb */ color: rgb(201, 56, 194);
/* oklch */ color: oklch(60.7% 0.232 330.1);
Tailwind
colors: {
  custom: {
    50: '#dd7dd5',
    500: '#c938c2',
    950: '#000000',
  },
}
SCSS
$custom: #c938c2;
$custom-light: #dd7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c938c2",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 302.897,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.2321,
    "h": 330.1
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#C938C2
secondary
#8ECF91
accent
#E14F47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C938C2

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

Preview Lab → · Contrast checker → · Palette generator →

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