#C051DC#C051DC

#C051DC is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.219 H 319.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C051DC
RGBrgb(192, 81, 220)
HSLhsl(288, 67%, 59%)
HSVhsv(288, 63%, 86%)
CMYKcmyk(12.7%, 63.2%, 0%, 13.7%)
CIE-LABlab(54.30, 64.01, -51.41)
CIE-LCHlch(54.30, 82.10, 321.23°)
OKLaboklab(63.36% 0.1653 -0.1437)
OKLCHoklch(63.36% 0.219 319)
XYZxyz(37.5972, 22.2603, 70.0125)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051DC #6DDC51
analogous
#7B51DC #C051DC #DC51B2
triadic
#C051DC #DCC051 #51DCC0
tetradic
#C051DC #DC7B51 #6DDC51 #51B2DC
square
#C051DC #DC7B51 #6DDC51 #51B2DC
split-complementary
#C051DC #B2DC51 #51DC7B
monochromatic
#7D1E95 #A828C8 #C051DC #D284E6 #E5B7F0

Accessibility & contrast

On white

3.85
#C051DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C051DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051DC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051DC#FFFFFF#000000##000000
##C051DC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#277AE0
Deuteranopia (green-blind)
#5A86D9
Tritanopia (blue-blind)
#C06990
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c051dc;
/* rgb */ color: rgb(192, 81, 220);
/* oklch */ color: oklch(63.4% 0.219 319.0);
Tailwind
colors: {
  custom: {
    50: '#d689e7',
    500: '#c051dc',
    950: '#000000',
  },
}
SCSS
$custom: #c051dc;
$custom-light: #d689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c051dc",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 287.914,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63364,
    "c": 0.21901,
    "h": 319
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#C051DC
secondary
#B4E0A9
accent
#E93E61
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C051DC

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

Preview Lab → · Contrast checker → · Palette generator →

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