#C051BE#C051BE

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

Color values

HEX#C051BE
RGBrgb(192, 81, 190)
HSLhsl(301, 47%, 54%)
HSVhsv(301, 58%, 75%)
CMYKcmyk(0%, 57.8%, 1%, 24.7%)
CIE-LABlab(52.74, 58.54, -36.73)
CIE-LCHlch(52.74, 69.11, 327.89°)
OKLaboklab(61.72% 0.1637 -0.1011)
OKLCHoklch(61.72% 0.192 328.3)
XYZxyz(33.9745, 20.8112, 50.9327)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051BE #51C053
analogous
#8A51C0 #C051BE #C05186
triadic
#C051BE #BEC051 #51BEC0
tetradic
#C051BE #C08A51 #51C053 #5186C0
square
#C051BE #C08A51 #51C053 #5186C0
split-complementary
#C051BE #86C051 #51C08A
monochromatic
#6F286D #9B389A #C051BE #D07ECF #E1ABE0

Accessibility & contrast

On white

4.07
#C051BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C051BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051BE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051BE#FFFFFF#000000##000000
##C051BE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674C1
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#C65E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c051be;
/* rgb */ color: rgb(192, 81, 190);
/* oklch */ color: oklch(61.7% 0.192 328.3);
Tailwind
colors: {
  custom: {
    50: '#d688d2',
    500: '#c051be',
    950: '#000000',
  },
}
SCSS
$custom: #c051be;
$custom-light: #d688d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c051be",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 301.081,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.19243,
    "h": 328.3
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C051BE

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

Preview Lab → · Contrast checker → · Palette generator →

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