#C251BB#C251BB

#C251BB is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.191 H 330.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C251BB
RGBrgb(194, 81, 187)
HSLhsl(304, 48%, 54%)
HSVhsv(304, 58%, 76%)
CMYKcmyk(0%, 58.2%, 3.6%, 23.9%)
CIE-LABlab(52.89, 58.56, -34.75)
CIE-LCHlch(52.89, 68.09, 329.31°)
OKLaboklab(61.84% 0.1656 -0.0954)
OKLCHoklch(61.84% 0.191 330.1)
XYZxyz(34.1599, 20.9443, 49.2475)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251BB #51C258
analogous
#9151C2 #C251BB #C25183
triadic
#C251BB #BBC251 #51BBC2
tetradic
#C251BB #C29151 #51C258 #5183C2
square
#C251BB #C29151 #51C258 #5183C2
split-complementary
#C251BB #83C251 #51C291
monochromatic
#71286C #9E3798 #C251BB #D27ECD #E2ACDE

Accessibility & contrast

On white

4.05
#C251BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C251BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251BB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251BB#FFFFFF#000000##000000
##C251BB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#C95C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c251bb;
/* rgb */ color: rgb(194, 81, 187);
/* oklch */ color: oklch(61.8% 0.191 330.1);
Tailwind
colors: {
  custom: {
    50: '#d788d0',
    500: '#c251bb',
    950: '#000000',
  },
}
SCSS
$custom: #c251bb;
$custom-light: #d788d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c251bb",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 303.717,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.19109,
    "h": 330.1
  },
  "luminance": 0.20942
}

Semantic roles & 50–950 ramp

primary
#C251BB
secondary
#9FD0A2
accent
#D85950
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C251BB

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

Preview Lab → · Contrast checker → · Palette generator →

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