#C918BD#C918BD

#C918BD is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.5% C 0.254 H 331.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C918BD
RGBrgb(201, 24, 189)
HSLhsl(304, 79%, 44%)
HSVhsv(304, 88%, 79%)
CMYKcmyk(0%, 88.1%, 6%, 21.2%)
CIE-LABlab(47.94, 77.93, -43.64)
CIE-LCHlch(47.94, 89.32, 330.75°)
OKLaboklab(58.53% 0.2233 -0.1205)
OKLCHoklch(58.53% 0.254 331.6)
XYZxyz(33.5994, 16.7478, 49.5973)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C918BD #18C924
analogous
#7D18C9 #C918BD #C91865
triadic
#C918BD #BDC918 #18BDC9
tetradic
#C918BD #C97D18 #18C924 #1865C9
square
#C918BD #C97D18 #18C924 #1865C9
split-complementary
#C918BD #65C918 #18C97D
monochromatic
#5C0B56 #92118A #C918BD #E737DB #EE6EE5

Accessibility & contrast

On white

4.83
#C918BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C918BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C918BD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C918BD#FFFFFF#000000##FFFFFF
##C918BD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#D23771
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c918bd;
/* rgb */ color: rgb(201, 24, 189);
/* oklch */ color: oklch(58.5% 0.254 331.6);
Tailwind
colors: {
  custom: {
    50: '#de72d1',
    500: '#c918bd',
    950: '#000000',
  },
}
SCSS
$custom: #c918bd;
$custom-light: #de72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c918bd",
  "rgb": {
    "r": 201,
    "g": 24,
    "b": 189
  },
  "hsl": {
    "h": 304.068,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58531,
    "c": 0.25374,
    "h": 331.6
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#C918BD
secondary
#69D470
accent
#F54033
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160914
muted
#847B82

Preview Lab

Preview with #C918BD

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

Preview Lab → · Contrast checker → · Palette generator →

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