#C938CA#C938CA

#C938CA is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.1% C 0.238 H 327.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C938CA
RGBrgb(201, 56, 202)
HSLhsl(300, 58%, 51%)
HSVhsv(300, 72%, 79%)
CMYKcmyk(0.5%, 72.3%, 0%, 20.8%)
CIE-LABlab(51.28, 72.30, -45.87)
CIE-LCHlch(51.28, 85.62, 327.61°)
OKLaboklab(61.14% 0.2013 -0.1272)
OKLCHoklch(61.14% 0.238 327.7)
XYZxyz(36.1617, 19.5127, 57.7274)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C938CA #39CA38
analogous
#8038CA #C938CA #CA3882
triadic
#C938CA #CAC938 #38CAC9
tetradic
#C938CA #CA8038 #39CA38 #3882CA
square
#C938CA #CA8038 #39CA38 #3882CA
split-complementary
#C938CA #82CA38 #38CA80
monochromatic
#6B1D6B #9B299B #C938CA #D668D7 #E399E4

Accessibility & contrast

On white

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

On black

4.90
#C938CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C938CA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C938CA#FFFFFF#000000##000000
##C938CA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#196ECE
Deuteranopia (green-blind)
#5F81C6
Tritanopia (blue-blind)
#CF4F7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c938ca;
/* rgb */ color: rgb(201, 56, 202);
/* oklch */ color: oklch(61.1% 0.238 327.7);
Tailwind
colors: {
  custom: {
    50: '#dd7ddb',
    500: '#c938ca',
    950: '#000000',
  },
}
SCSS
$custom: #c938ca;
$custom-light: #dd7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#c938ca",
  "rgb": {
    "r": 201,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 299.589,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.23806,
    "h": 327.7
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#C938CA
secondary
#8FCF8E
accent
#E14748
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C938CA

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

Preview Lab → · Contrast checker → · Palette generator →

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