#C051DF#C051DF

#C051DF is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.5% C 0.222 H 318.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C051DF
RGBrgb(192, 81, 223)
HSLhsl(287, 69%, 60%)
HSVhsv(287, 64%, 87%)
CMYKcmyk(13.9%, 63.7%, 0%, 12.5%)
CIE-LABlab(54.47, 64.58, -52.84)
CIE-LCHlch(54.47, 83.45, 320.71°)
OKLaboklab(63.54% 0.1652 -0.1479)
OKLCHoklch(63.54% 0.222 318.2)
XYZxyz(37.9981, 22.4206, 72.1238)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051DF #70DF51
analogous
#7951DF #C051DF #DF51B7
triadic
#C051DF #DFC051 #51DFC0
tetradic
#C051DF #DF7951 #70DF51 #51B7DF
square
#C051DF #DF7951 #70DF51 #51B7DF
split-complementary
#C051DF #B7DF51 #51DF79
monochromatic
#7E1C99 #A926CD #C051DF #D385E9 #E5B8F2

Accessibility & contrast

On white

3.83
#C051DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#C051DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051DF#FFFFFF#000000##000000
##C051DF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#BF6A91
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c051df;
/* rgb */ color: rgb(192, 81, 223);
/* oklch */ color: oklch(63.5% 0.222 318.2);
Tailwind
colors: {
  custom: {
    50: '#d689ea',
    500: '#c051df',
    950: '#000000',
  },
}
SCSS
$custom: #c051df;
$custom-light: #d689ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c051df",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 286.901,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63539,
    "c": 0.22175,
    "h": 318.2
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#C051DF
secondary
#B6E1AA
accent
#EC3C62
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C051DF

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

Preview Lab → · Contrast checker → · Palette generator →

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