#C051BA#C051BA

#C051BA is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.189 H 329.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C051BA
RGBrgb(192, 81, 186)
HSLhsl(303, 47%, 54%)
HSVhsv(303, 58%, 75%)
CMYKcmyk(0%, 57.8%, 3.1%, 24.7%)
CIE-LABlab(52.55, 57.86, -34.72)
CIE-LCHlch(52.55, 67.48, 329.03°)
OKLaboklab(61.52% 0.1633 -0.0953)
OKLCHoklch(61.52% 0.189 329.7)
XYZxyz(33.5433, 20.6387, 48.6618)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051BA #51C057
analogous
#8E51C0 #C051BA #C05182
triadic
#C051BA #BAC051 #51BAC0
tetradic
#C051BA #C08E51 #51C057 #5182C0
square
#C051BA #C08E51 #51C057 #5182C0
split-complementary
#C051BA #82C051 #51C08E
monochromatic
#6F286B #9B3896 #C051BA #D07ECC #E1ABDE

Accessibility & contrast

On white

4.10
#C051BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C051BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051BA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051BA#FFFFFF#000000##000000
##C051BA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#C65C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c051ba;
/* rgb */ color: rgb(192, 81, 186);
/* oklch */ color: oklch(61.5% 0.189 329.7);
Tailwind
colors: {
  custom: {
    50: '#d688cf',
    500: '#c051ba',
    950: '#000000',
  },
}
SCSS
$custom: #c051ba;
$custom-light: #d688cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c051ba",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 303.243,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61523,
    "c": 0.18905,
    "h": 329.7
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#C051BA
secondary
#9FCEA1
accent
#D65951
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C051BA

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

Preview Lab → · Contrast checker → · Palette generator →

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