#C768D1#C768D1

#C768D1 is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.6% C 0.178 H 323.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#C768D1
RGBrgb(199, 104, 209)
HSLhsl(294, 53%, 61%)
HSVhsv(294, 50%, 82%)
CMYKcmyk(4.8%, 50.2%, 0%, 18%)
CIE-LABlab(58.65, 52.97, -38.26)
CIE-LCHlch(58.65, 65.34, 324.16°)
OKLaboklab(66.55% 0.1436 -0.1055)
OKLCHoklch(66.55% 0.178 323.7)
XYZxyz(40.0110, 26.6481, 63.3453)
Luminance0.2665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768D1 #72D168
analogous
#9368D1 #C768D1 #D168A7
triadic
#C768D1 #D1C768 #68D1C7
tetradic
#C768D1 #D19368 #72D168 #68A7D1
square
#C768D1 #D19368 #72D168 #68A7D1
split-complementary
#C768D1 #A7D168 #68D193
monochromatic
#882D92 #B43BC1 #C768D1 #D897DF #EAC6EE

Accessibility & contrast

On white

3.32
#C768D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#C768D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768D1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768D1#FFFFFF#000000##000000
##C768D11.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D4
Deuteranopia (green-blind)
#7791CE
Tritanopia (blue-blind)
#CA7593
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c768d1;
/* rgb */ color: rgb(199, 104, 209);
/* oklch */ color: oklch(66.6% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#da97df',
    500: '#c768d1',
    950: '#000000',
  },
}
SCSS
$custom: #c768d1;
$custom-light: #da97df;
$custom-dark: #000000;
JSON
{
  "hex": "#c768d1",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 209
  },
  "hsl": {
    "h": 294.286,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66552,
    "c": 0.17817,
    "h": 323.7
  },
  "luminance": 0.26646
}

Semantic roles & 50–950 ramp

primary
#C768D1
secondary
#BBDEB7
accent
#C12534
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C768D1

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

Preview Lab → · Contrast checker → · Palette generator →

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