#C051EB#C051EB

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

Color values

HEX#C051EB
RGBrgb(192, 81, 235)
HSLhsl(283, 79%, 62%)
HSVhsv(283, 66%, 92%)
CMYKcmyk(18.3%, 65.5%, 0%, 7.8%)
CIE-LABlab(55.17, 66.92, -58.48)
CIE-LCHlch(55.17, 88.87, 318.85°)
OKLaboklab(64.26% 0.1649 -0.1644)
OKLCHoklch(64.26% 0.233 315.1)
XYZxyz(39.6736, 23.0909, 80.9483)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051EB #7CEB51
analogous
#7351EB #C051EB #EB51C9
triadic
#C051EB #EBC051 #51EBC0
tetradic
#C051EB #EB7351 #7CEB51 #51C9EB
square
#C051EB #EB7351 #7CEB51 #51C9EB
split-complementary
#C051EB #C9EB51 #51EB73
monochromatic
#8314AE #AC1AE5 #C051EB #D488F1 #E8BFF8

Accessibility & contrast

On white

3.74
#C051EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C051EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051EB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051EB#FFFFFF#000000##000000
##C051EB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#BD6F98
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c051eb;
/* rgb */ color: rgb(192, 81, 235);
/* oklch */ color: oklch(64.3% 0.233 315.1);
Tailwind
colors: {
  custom: {
    50: '#d789f2',
    500: '#c051eb',
    950: '#000000',
  },
}
SCSS
$custom: #c051eb;
$custom-light: #d789f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c051eb",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 283.247,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64264,
    "c": 0.23284,
    "h": 315.1
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#C051EB
secondary
#BFE8B0
accent
#DC0A44
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C051EB

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

Preview Lab → · Contrast checker → · Palette generator →

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