#C051F4#C051F4

#C051F4 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.241 H 312.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C051F4
RGBrgb(192, 81, 244)
HSLhsl(281, 88%, 64%)
HSVhsv(281, 67%, 96%)
CMYKcmyk(21.3%, 66.8%, 0%, 4.3%)
CIE-LABlab(55.71, 68.72, -62.64)
CIE-LCHlch(55.71, 92.98, 317.65°)
OKLaboklab(64.83% 0.1643 -0.1766)
OKLCHoklch(64.83% 0.241 312.9)
XYZxyz(41.0069, 23.6242, 87.9702)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051F4 #85F451
analogous
#6E51F4 #C051F4 #F451D6
triadic
#C051F4 #F4C051 #51F4C0
tetradic
#C051F4 #F46E51 #85F451 #51D6F4
square
#C051F4 #F46E51 #85F451 #51D6F4
split-complementary
#C051F4 #D6F451 #51F46E
monochromatic
#860CBF #AB17F0 #C051F4 #D58BF8 #EAC4FB

Accessibility & contrast

On white

3.67
#C051F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C051F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051F4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051F4#FFFFFF#000000##000000
##C051F41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#BA729C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c051f4;
/* rgb */ color: rgb(192, 81, 244);
/* oklch */ color: oklch(64.8% 0.241 312.9);
Tailwind
colors: {
  custom: {
    50: '#d78af8',
    500: '#c051f4',
    950: '#000000',
  },
}
SCSS
$custom: #c051f4;
$custom-light: #d78af8;
$custom-dark: #000000;
JSON
{
  "hex": "#c051f4",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 280.859,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64828,
    "c": 0.24121,
    "h": 312.9
  },
  "luminance": 0.23623
}

Semantic roles & 50–950 ramp

primary
#C051F4
secondary
#C6EDB4
accent
#E5014A
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C051F4

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

Preview Lab → · Contrast checker → · Palette generator →

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