#C918C8#C918C8

#C918C8 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 59.2% C 0.261 H 328.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C918C8
RGBrgb(201, 24, 200)
HSLhsl(300, 79%, 44%)
HSVhsv(300, 88%, 79%)
CMYKcmyk(0%, 88.1%, 0.5%, 21.2%)
CIE-LABlab(48.57, 79.53, -49.04)
CIE-LCHlch(48.57, 93.44, 328.34°)
OKLaboklab(59.17% 0.2227 -0.1362)
OKLCHoklch(59.17% 0.261 328.6)
XYZxyz(34.8390, 17.2437, 56.1258)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C918C8 #18C919
analogous
#7218C9 #C918C8 #C91870
triadic
#C918C8 #C8C918 #18C8C9
tetradic
#C918C8 #C97218 #18C919 #1870C9
square
#C918C8 #C97218 #18C919 #1870C9
split-complementary
#C918C8 #70C918 #18C972
monochromatic
#5C0B5B #921192 #C918C8 #E737E6 #EE6EED

Accessibility & contrast

On white

4.72
#C918C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C918C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C918C8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C918C8#FFFFFF#000000##FFFFFF
##C918C81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#557BC4
Tritanopia (blue-blind)
#D03E77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c918c8;
/* rgb */ color: rgb(201, 24, 200);
/* oklch */ color: oklch(59.2% 0.261 328.6);
Tailwind
colors: {
  custom: {
    50: '#de73d9',
    500: '#c918c8',
    950: '#000000',
  },
}
SCSS
$custom: #c918c8;
$custom-light: #de73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c918c8",
  "rgb": {
    "r": 201,
    "g": 24,
    "b": 200
  },
  "hsl": {
    "h": 300.339,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.26105,
    "h": 328.6
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#C918C8
secondary
#69D46A
accent
#F53433
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C918C8

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

Preview Lab → · Contrast checker → · Palette generator →

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