#C051EC#C051EC

#C051EC is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.234 H 314.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#C051EC
RGBrgb(192, 81, 236)
HSLhsl(283, 80%, 62%)
HSVhsv(283, 66%, 93%)
CMYKcmyk(18.6%, 65.7%, 0%, 7.5%)
CIE-LABlab(55.23, 67.12, -58.95)
CIE-LCHlch(55.23, 89.33, 318.71°)
OKLaboklab(64.33% 0.1648 -0.1657)
OKLCHoklch(64.33% 0.234 314.8)
XYZxyz(39.8185, 23.1488, 81.7113)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051EC #7DEC51
analogous
#7351EC #C051EC #EC51CA
triadic
#C051EC #ECC051 #51ECC0
tetradic
#C051EC #EC7351 #7DEC51 #51CAEC
square
#C051EC #EC7351 #7DEC51 #51CAEC
split-complementary
#C051EC #CAEC51 #51EC73
monochromatic
#8313AF #AC1AE6 #C051EC #D488F2 #E8BFF8

Accessibility & contrast

On white

3.73
#C051EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#C051EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051EC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051EC#FFFFFF#000000##000000
##C051EC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#BC6F98
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c051ec;
/* rgb */ color: rgb(192, 81, 236);
/* oklch */ color: oklch(64.3% 0.234 314.8);
Tailwind
colors: {
  custom: {
    50: '#d789f3',
    500: '#c051ec',
    950: '#000000',
  },
}
SCSS
$custom: #c051ec;
$custom-light: #d789f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c051ec",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 282.968,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.23376,
    "h": 314.8
  },
  "luminance": 0.23147
}

Semantic roles & 50–950 ramp

primary
#C051EC
secondary
#C0E9B0
accent
#DD0945
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C051EC

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

Preview Lab → · Contrast checker → · Palette generator →

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