#C051E7#C051E7

#C051E7 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.229 H 316.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C051E7
RGBrgb(192, 81, 231)
HSLhsl(284, 76%, 61%)
HSVhsv(284, 65%, 91%)
CMYKcmyk(16.9%, 64.9%, 0%, 9.4%)
CIE-LABlab(54.93, 66.14, -56.61)
CIE-LCHlch(54.93, 87.06, 319.44°)
OKLaboklab(64.02% 0.1651 -0.1589)
OKLCHoklch(64.02% 0.229 316.1)
XYZxyz(39.1022, 22.8623, 77.9389)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051E7 #78E751
analogous
#7551E7 #C051E7 #E751C3
triadic
#C051E7 #E7C051 #51E7C0
tetradic
#C051E7 #E77551 #78E751 #51C3E7
square
#C051E7 #E77551 #78E751 #51C3E7
split-complementary
#C051E7 #C3E751 #51E775
monochromatic
#8117A7 #AB1EDC #C051E7 #D387EE #E7BDF6

Accessibility & contrast

On white

3.77
#C051E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C051E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051E7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051E7#FFFFFF#000000##000000
##C051E71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7DEB
Deuteranopia (green-blind)
#5187E3
Tritanopia (blue-blind)
#BE6D95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c051e7;
/* rgb */ color: rgb(192, 81, 231);
/* oklch */ color: oklch(64.0% 0.229 316.1);
Tailwind
colors: {
  custom: {
    50: '#d789ef',
    500: '#c051e7',
    950: '#000000',
  },
}
SCSS
$custom: #c051e7;
$custom-light: #d789ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c051e7",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 284.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.22913,
    "h": 316.1
  },
  "luminance": 0.22861
}

Semantic roles & 50–950 ramp

primary
#C051E7
secondary
#BCE6AE
accent
#D80E42
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C051E7

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

Preview Lab → · Contrast checker → · Palette generator →

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