#C768E6#C768E6

#C768E6 is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.6% C 0.199 H 317.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C768E6
RGBrgb(199, 104, 230)
HSLhsl(285, 72%, 65%)
HSVhsv(285, 55%, 90%)
CMYKcmyk(13.5%, 54.8%, 0%, 9.8%)
CIE-LABlab(59.67, 57.04, -48.45)
CIE-LCHlch(59.67, 74.84, 319.65°)
OKLaboklab(67.64% 0.1457 -0.135)
OKLCHoklch(67.64% 0.199 317.2)
XYZxyz(42.7844, 27.7574, 77.9516)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768E6 #87E668
analogous
#8868E6 #C768E6 #E668C6
triadic
#C768E6 #E6C768 #68E6C7
tetradic
#C768E6 #E68868 #87E668 #68C6E6
square
#C768E6 #E68868 #87E668 #68C6E6
split-complementary
#C768E6 #C6E668 #68E688
monochromatic
#901EB6 #B433DD #C768E6 #DA9DEF #EED1F7

Accessibility & contrast

On white

3.21
#C768E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#C768E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768E6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768E6#FFFFFF#000000##000000
##C768E61.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEA
Deuteranopia (green-blind)
#6C93E3
Tritanopia (blue-blind)
#C67C9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c768e6;
/* rgb */ color: rgb(199, 104, 230);
/* oklch */ color: oklch(67.6% 0.199 317.2);
Tailwind
colors: {
  custom: {
    50: '#db97ee',
    500: '#c768e6',
    950: '#000000',
  },
}
SCSS
$custom: #c768e6;
$custom-light: #db97ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c768e6",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 285.238,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.19869,
    "h": 317.2
  },
  "luminance": 0.27756
}

Semantic roles & 50–950 ramp

primary
#C768E6
secondary
#CAEAC0
accent
#D41242
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C768E6

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

Preview Lab → · Contrast checker → · Palette generator →

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