#C938CC#C938CC

#C938CC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.240 H 327.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C938CC
RGBrgb(201, 56, 204)
HSLhsl(299, 59%, 51%)
HSVhsv(299, 73%, 80%)
CMYKcmyk(1.5%, 72.5%, 0%, 20%)
CIE-LABlab(51.39, 72.62, -46.84)
CIE-LCHlch(51.39, 86.42, 327.18°)
OKLaboklab(61.25% 0.2012 -0.13)
OKLCHoklch(61.25% 0.24 327.1)
XYZxyz(36.4001, 19.6080, 58.9826)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938CC #3BCC38
analogous
#7F38CC #C938CC #CC3885
triadic
#C938CC #CCC938 #38CCC9
tetradic
#C938CC #CC7F38 #3BCC38 #3885CC
square
#C938CC #CC7F38 #3BCC38 #3885CC
split-complementary
#C938CC #85CC38 #38CC7F
monochromatic
#6C1C6E #9C299E #C938CC #D669D8 #E399E5

Accessibility & contrast

On white

4.27
#C938CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C938CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938CC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938CC#FFFFFF#000000##000000
##C938CC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#146FD0
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#CF507F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c938cc;
/* rgb */ color: rgb(201, 56, 204);
/* oklch */ color: oklch(61.3% 0.240 327.1);
Tailwind
colors: {
  custom: {
    50: '#dd7ddc',
    500: '#c938cc',
    950: '#000000',
  },
}
SCSS
$custom: #c938cc;
$custom-light: #dd7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#c938cc",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 298.784,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.23956,
    "h": 327.1
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#C938CC
secondary
#90D18F
accent
#E24549
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C938CC

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

Preview Lab → · Contrast checker → · Palette generator →

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