#C051BD#C051BD

#C051BD is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.7% C 0.192 H 328.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C051BD
RGBrgb(192, 81, 189)
HSLhsl(302, 47%, 54%)
HSVhsv(302, 58%, 75%)
CMYKcmyk(0%, 57.8%, 1.6%, 24.7%)
CIE-LABlab(52.69, 58.37, -36.23)
CIE-LCHlch(52.69, 68.70, 328.17°)
OKLaboklab(61.67% 0.1636 -0.0997)
OKLCHoklch(61.67% 0.192 328.7)
XYZxyz(33.8656, 20.7676, 50.3591)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051BD #51C054
analogous
#8B51C0 #C051BD #C05185
triadic
#C051BD #BDC051 #51BDC0
tetradic
#C051BD #C08B51 #51C054 #5185C0
square
#C051BD #C08B51 #51C054 #5185C0
split-complementary
#C051BD #85C051 #51C08B
monochromatic
#6F286D #9B3899 #C051BD #D07ECE #E1ABDF

Accessibility & contrast

On white

4.08
#C051BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C051BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051BD#FFFFFF#000000##000000
##C051BD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774C0
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#C65D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c051bd;
/* rgb */ color: rgb(192, 81, 189);
/* oklch */ color: oklch(61.7% 0.192 328.7);
Tailwind
colors: {
  custom: {
    50: '#d688d1',
    500: '#c051bd',
    950: '#000000',
  },
}
SCSS
$custom: #c051bd;
$custom-light: #d688d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c051bd",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 301.622,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.19157,
    "h": 328.7
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

primary
#C051BD
secondary
#9FCEA0
accent
#D65551
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C051BD

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

Preview Lab → · Contrast checker → · Palette generator →

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