#C918C3#C918C3

#C918C3 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.9% C 0.258 H 329.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C918C3
RGBrgb(201, 24, 195)
HSLhsl(302, 79%, 44%)
HSVhsv(302, 88%, 79%)
CMYKcmyk(0%, 88.1%, 3%, 21.2%)
CIE-LABlab(48.28, 78.80, -46.60)
CIE-LCHlch(48.28, 91.54, 329.40°)
OKLaboklab(58.88% 0.223 -0.1291)
OKLCHoklch(58.88% 0.258 329.9)
XYZxyz(34.2642, 17.0138, 53.0985)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C918C3 #18C91E
analogous
#7718C9 #C918C3 #C9186B
triadic
#C918C3 #C3C918 #18C3C9
tetradic
#C918C3 #C97718 #18C91E #186BC9
square
#C918C3 #C97718 #18C91E #186BC9
split-complementary
#C918C3 #6BC918 #18C977
monochromatic
#5C0B59 #92118E #C918C3 #E737E1 #EE6EE9

Accessibility & contrast

On white

4.77
#C918C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C918C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C918C3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C918C3#FFFFFF#000000##FFFFFF
##C918C31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#587ABF
Tritanopia (blue-blind)
#D13B74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c918c3;
/* rgb */ color: rgb(201, 24, 195);
/* oklch */ color: oklch(58.9% 0.258 329.9);
Tailwind
colors: {
  custom: {
    50: '#de73d6',
    500: '#c918c3',
    950: '#000000',
  },
}
SCSS
$custom: #c918c3;
$custom-light: #de73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c918c3",
  "rgb": {
    "r": 201,
    "g": 24,
    "b": 195
  },
  "hsl": {
    "h": 302.034,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.2577,
    "h": 329.9
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#C918C3
secondary
#69D46D
accent
#F53933
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C918C3

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

Preview Lab → · Contrast checker → · Palette generator →

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