#C051BF#C051BF

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

Color values

HEX#C051BF
RGBrgb(192, 81, 191)
HSLhsl(301, 47%, 54%)
HSVhsv(301, 58%, 75%)
CMYKcmyk(0%, 57.8%, 0.5%, 24.7%)
CIE-LABlab(52.79, 58.72, -37.23)
CIE-LCHlch(52.79, 69.53, 327.62°)
OKLaboklab(61.78% 0.1638 -0.1025)
OKLCHoklch(61.78% 0.193 328)
XYZxyz(34.0841, 20.8551, 51.5103)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051BF #51C052
analogous
#8951C0 #C051BF #C05187
triadic
#C051BF #BFC051 #51BFC0
tetradic
#C051BF #C08951 #51C052 #5187C0
square
#C051BF #C08951 #51C052 #5187C0
split-complementary
#C051BF #87C051 #51C089
monochromatic
#6F286E #9B389B #C051BF #D07ED0 #E1ABE0

Accessibility & contrast

On white

4.06
#C051BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C051BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051BF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051BF#FFFFFF#000000##000000
##C051BF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C2
Deuteranopia (green-blind)
#6B83BC
Tritanopia (blue-blind)
#C65E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c051bf;
/* rgb */ color: rgb(192, 81, 191);
/* oklch */ color: oklch(61.8% 0.193 328.0);
Tailwind
colors: {
  custom: {
    50: '#d688d2',
    500: '#c051bf',
    950: '#000000',
  },
}
SCSS
$custom: #c051bf;
$custom-light: #d688d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c051bf",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 300.541,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.19328,
    "h": 328
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#C051BF
secondary
#9FCE9F
accent
#D65351
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C051BF

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

Preview Lab → · Contrast checker → · Palette generator →

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