#C938CB#C938CB

#C938CB is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.239 H 327.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C938CB
RGBrgb(201, 56, 203)
HSLhsl(299, 59%, 51%)
HSVhsv(299, 72%, 80%)
CMYKcmyk(1%, 72.4%, 0%, 20.4%)
CIE-LABlab(51.34, 72.46, -46.36)
CIE-LCHlch(51.34, 86.02, 327.39°)
OKLaboklab(61.19% 0.2013 -0.1286)
OKLCHoklch(61.19% 0.239 327.4)
XYZxyz(36.2805, 19.5602, 58.3529)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938CB #3ACB38
analogous
#7F38CB #C938CB #CB3883
triadic
#C938CB #CBC938 #38CBC9
tetradic
#C938CB #CB7F38 #3ACB38 #3883CB
square
#C938CB #CB7F38 #3ACB38 #3883CB
split-complementary
#C938CB #83CB38 #38CB7F
monochromatic
#6B1C6C #9B299D #C938CB #D669D8 #E399E4

Accessibility & contrast

On white

4.28
#C938CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C938CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938CB#FFFFFF#000000##000000
##C938CB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#5E81C7
Tritanopia (blue-blind)
#CF4F7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c938cb;
/* rgb */ color: rgb(201, 56, 203);
/* oklch */ color: oklch(61.2% 0.239 327.4);
Tailwind
colors: {
  custom: {
    50: '#dd7ddb',
    500: '#c938cb',
    950: '#000000',
  },
}
SCSS
$custom: #c938cb;
$custom-light: #dd7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#c938cb",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 299.184,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61194,
    "c": 0.23881,
    "h": 327.4
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#C938CB
secondary
#90D08F
accent
#E24648
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C938CB

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

Preview Lab → · Contrast checker → · Palette generator →

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