#C938C7#C938C7

#C938C7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.236 H 328.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C938C7
RGBrgb(201, 56, 199)
HSLhsl(301, 57%, 50%)
HSVhsv(301, 72%, 79%)
CMYKcmyk(0%, 72.1%, 1%, 21.2%)
CIE-LABlab(51.12, 71.82, -44.40)
CIE-LCHlch(51.12, 84.43, 328.28°)
OKLaboklab(60.97% 0.2013 -0.1229)
OKLCHoklch(60.97% 0.236 328.6)
XYZxyz(35.8100, 19.3720, 55.8748)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938C7 #38C93A
analogous
#8338C9 #C938C7 #C9387E
triadic
#C938C7 #C7C938 #38C7C9
tetradic
#C938C7 #C98338 #38C93A #387EC9
square
#C938C7 #C98338 #38C93A #387EC9
split-complementary
#C938C7 #7EC938 #38C983
monochromatic
#6A1D69 #9A2A98 #C938C7 #D668D5 #E398E2

Accessibility & contrast

On white

4.31
#C938C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C938C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938C7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938C7#FFFFFF#000000##000000
##C938C71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECB
Deuteranopia (green-blind)
#6180C3
Tritanopia (blue-blind)
#D04E7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c938c7;
/* rgb */ color: rgb(201, 56, 199);
/* oklch */ color: oklch(61.0% 0.236 328.6);
Tailwind
colors: {
  custom: {
    50: '#dd7dd8',
    500: '#c938c7',
    950: '#000000',
  },
}
SCSS
$custom: #c938c7;
$custom-light: #dd7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c938c7",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 300.828,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.23581,
    "h": 328.6
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#C938C7
secondary
#8ECF8F
accent
#E14947
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C938C7

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

Preview Lab → · Contrast checker → · Palette generator →

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