#C768CB#C768CB

#C768CB is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.3% C 0.173 H 325.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#C768CB
RGBrgb(199, 104, 203)
HSLhsl(298, 49%, 60%)
HSVhsv(298, 49%, 80%)
CMYKcmyk(2%, 48.8%, 0%, 20.4%)
CIE-LABlab(58.37, 51.86, -35.29)
CIE-LCHlch(58.37, 62.73, 325.77°)
OKLaboklab(66.26% 0.1427 -0.097)
OKLCHoklch(66.26% 0.173 325.8)
XYZxyz(39.2822, 26.3565, 59.5065)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768CB #6CCB68
analogous
#9668CB #C768CB #CB689D
triadic
#C768CB #CBC768 #68CBC7
tetradic
#C768CB #CB9668 #6CCB68 #689DCB
square
#C768CB #CB9668 #6CCB68 #689DCB
split-complementary
#C768CB #9DCB68 #68CB96
monochromatic
#862F89 #B23FB7 #C768CB #D896DB #E9C3EA

Accessibility & contrast

On white

3.35
#C768CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#C768CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768CB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768CB#FFFFFF#000000##000000
##C768CB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CE
Deuteranopia (green-blind)
#7991C8
Tritanopia (blue-blind)
#CB7390
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c768cb;
/* rgb */ color: rgb(199, 104, 203);
/* oklch */ color: oklch(66.3% 0.173 325.8);
Tailwind
colors: {
  custom: {
    50: '#da96db',
    500: '#c768cb',
    950: '#000000',
  },
}
SCSS
$custom: #c768cb;
$custom-light: #da96db;
$custom-dark: #000000;
JSON
{
  "hex": "#c768cb",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 297.576,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.17252,
    "h": 325.8
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

primary
#C768CB
secondary
#B6DAB4
accent
#BC292F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C768CB

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

Preview Lab → · Contrast checker → · Palette generator →

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