#C251B0#C251B0

#C251B0 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.182 H 334.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C251B0
RGBrgb(194, 81, 176)
HSLhsl(310, 48%, 54%)
HSVhsv(310, 58%, 76%)
CMYKcmyk(0%, 58.2%, 9.3%, 23.9%)
CIE-LABlab(52.39, 56.74, -29.14)
CIE-LCHlch(52.39, 63.79, 332.81°)
OKLaboklab(61.31% 0.1641 -0.0793)
OKLCHoklch(61.31% 0.182 334.2)
XYZxyz(33.0272, 20.4912, 43.2816)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251B0 #51C263
analogous
#9C51C2 #C251B0 #C25178
triadic
#C251B0 #B0C251 #51B0C2
tetradic
#C251B0 #C29C51 #51C263 #5178C2
square
#C251B0 #C29C51 #51C263 #5178C2
split-complementary
#C251B0 #78C251 #51C29C
monochromatic
#712865 #9E378E #C251B0 #D27EC5 #E2ACD9

Accessibility & contrast

On white

4.12
#C251B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C251B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251B0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251B0#FFFFFF#000000##000000
##C251B01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B3
Deuteranopia (green-blind)
#7383AD
Tritanopia (blue-blind)
#CA5879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c251b0;
/* rgb */ color: rgb(194, 81, 176);
/* oklch */ color: oklch(61.3% 0.182 334.2);
Tailwind
colors: {
  custom: {
    50: '#d788c8',
    500: '#c251b0',
    950: '#000000',
  },
}
SCSS
$custom: #c251b0;
$custom-light: #d788c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c251b0",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 176
  },
  "hsl": {
    "h": 309.558,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61313,
    "c": 0.18222,
    "h": 334.2
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#C251B0
secondary
#9FD0A7
accent
#D86650
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C251B0

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

Preview Lab → · Contrast checker → · Palette generator →

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