#C051FC#C051FC

#C051FC is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 65.3% C 0.249 H 311.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C051FC
RGBrgb(192, 81, 252)
HSLhsl(279, 97%, 65%)
HSVhsv(279, 68%, 99%)
CMYKcmyk(23.8%, 67.9%, 0%, 1.2%)
CIE-LABlab(56.21, 70.34, -66.28)
CIE-LCHlch(56.21, 96.65, 316.70°)
OKLaboklab(65.34% 0.1636 -0.1873)
OKLCHoklch(65.34% 0.249 311.1)
XYZxyz(42.2480, 24.1206, 94.5068)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051FC #8DFC51
analogous
#6A51FC #C051FC #FC51E3
triadic
#C051FC #FCC051 #51FCC0
tetradic
#C051FC #FC6A51 #8DFC51 #51E3FC
square
#C051FC #FC6A51 #8DFC51 #51E3FC
split-complementary
#C051FC #E3FC51 #51FC6A
monochromatic
#8804CF #AA15FB #C051FC #D68DFD #ECC9FE

Accessibility & contrast

On white

3.61
#C051FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C051FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051FC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051FC#FFFFFF#000000##000000
##C051FC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#B875A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c051fc;
/* rgb */ color: rgb(192, 81, 252);
/* oklch */ color: oklch(65.3% 0.249 311.1);
Tailwind
colors: {
  custom: {
    50: '#d88afe',
    500: '#c051fc',
    950: '#000000',
  },
}
SCSS
$custom: #c051fc;
$custom-light: #d88afe;
$custom-dark: #000000;
JSON
{
  "hex": "#c051fc",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 278.947,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65344,
    "c": 0.24869,
    "h": 311.1
  },
  "luminance": 0.2412
}

Semantic roles & 50–950 ramp

primary
#C051FC
secondary
#CCF1B8
accent
#E60051
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #C051FC

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

Preview Lab → · Contrast checker → · Palette generator →

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