#C651F2#C651F2

#C651F2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.241 H 315.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C651F2
RGBrgb(198, 81, 242)
HSLhsl(284, 86%, 63%)
HSVhsv(284, 67%, 95%)
CMYKcmyk(18.2%, 66.5%, 0%, 5.1%)
CIE-LABlab(56.39, 69.58, -60.39)
CIE-LCHlch(56.39, 92.13, 319.05°)
OKLaboklab(65.44% 0.1717 -0.1698)
OKLCHoklch(65.44% 0.241 315.3)
XYZxyz(42.2556, 24.3029, 86.4522)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C651F2 #7DF251
analogous
#7551F2 #C651F2 #F251CE
triadic
#C651F2 #F2C651 #51F2C6
tetradic
#C651F2 #F27551 #7DF251 #51CEF2
square
#C651F2 #F27551 #7DF251 #51CEF2
split-complementary
#C651F2 #CEF251 #51F275
monochromatic
#8B0EBB #B318EE #C651F2 #D98AF6 #EBC3FB

Accessibility & contrast

On white

3.58
#C651F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C651F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C651F2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C651F2#FFFFFF#000000##000000
##C651F21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4E8AEE
Tritanopia (blue-blind)
#C3709B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c651f2;
/* rgb */ color: rgb(198, 81, 242);
/* oklch */ color: oklch(65.4% 0.241 315.3);
Tailwind
colors: {
  custom: {
    50: '#db8af7',
    500: '#c651f2',
    950: '#000000',
  },
}
SCSS
$custom: #c651f2;
$custom-light: #db8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c651f2",
  "rgb": {
    "r": 198,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 283.602,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65444,
    "c": 0.24146,
    "h": 315.3
  },
  "luminance": 0.24301
}

Semantic roles & 50–950 ramp

primary
#C651F2
secondary
#C2ECB3
accent
#E30340
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C651F2

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

Preview Lab → · Contrast checker → · Palette generator →

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