#C651FC#C651FC

#C651FC is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.1% C 0.251 H 313.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C651FC
RGBrgb(198, 81, 252)
HSLhsl(281, 97%, 65%)
HSVhsv(281, 68%, 99%)
CMYKcmyk(21.4%, 67.9%, 0%, 1.2%)
CIE-LABlab(57.00, 71.55, -64.97)
CIE-LCHlch(57.00, 96.65, 317.76°)
OKLaboklab(66.07% 0.171 -0.1832)
OKLCHoklch(66.07% 0.251 313)
XYZxyz(43.7987, 24.9202, 94.5795)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C651FC #87FC51
analogous
#7151FC #C651FC #FC51DC
triadic
#C651FC #FCC651 #51FCC6
tetradic
#C651FC #FC7151 #87FC51 #51DCFC
square
#C651FC #FC7151 #87FC51 #51DCFC
split-complementary
#C651FC #DCFC51 #51FC71
monochromatic
#8F04CF #B215FB #C651FC #DA8DFD #EDC9FE

Accessibility & contrast

On white

3.51
#C651FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C651FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C651FC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C651FC#FFFFFF#000000##000000
##C651FC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#C074A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c651fc;
/* rgb */ color: rgb(198, 81, 252);
/* oklch */ color: oklch(66.1% 0.251 313.0);
Tailwind
colors: {
  custom: {
    50: '#dc8afe',
    500: '#c651fc',
    950: '#000000',
  },
}
SCSS
$custom: #c651fc;
$custom-light: #dc8afe;
$custom-dark: #000000;
JSON
{
  "hex": "#c651fc",
  "rgb": {
    "r": 198,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 281.053,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66073,
    "c": 0.25059,
    "h": 313
  },
  "luminance": 0.24919
}

Semantic roles & 50–950 ramp

primary
#C651FC
secondary
#CAF1B8
accent
#E60048
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #C651FC

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

Preview Lab → · Contrast checker → · Palette generator →

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