#C768DF#C768DF

#C768DF is a light, vivid purple. Relative luminance 0.274; OKLCH L 67.3% C 0.192 H 319.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#C768DF
RGBrgb(199, 104, 223)
HSLhsl(288, 65%, 64%)
HSVhsv(288, 53%, 87%)
CMYKcmyk(10.8%, 53.4%, 0%, 12.5%)
CIE-LABlab(59.32, 55.65, -45.09)
CIE-LCHlch(59.32, 71.63, 320.99°)
OKLaboklab(67.26% 0.1452 -0.1253)
OKLCHoklch(67.26% 0.192 319.2)
XYZxyz(41.8211, 27.3721, 72.8781)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768DF #80DF68
analogous
#8C68DF #C768DF #DF68BC
triadic
#C768DF #DFC768 #68DFC7
tetradic
#C768DF #DF8C68 #80DF68 #68BCDF
square
#C768DF #DF8C68 #80DF68 #68BCDF
split-complementary
#C768DF #BCDF68 #68DF8C
monochromatic
#8E24A9 #B436D4 #C768DF #DA9BEA #ECCDF4

Accessibility & contrast

On white

3.24
#C768DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#C768DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768DF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768DF#FFFFFF#000000##000000
##C768DF1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#7092DC
Tritanopia (blue-blind)
#C87A9A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c768df;
/* rgb */ color: rgb(199, 104, 223);
/* oklch */ color: oklch(67.3% 0.192 319.2);
Tailwind
colors: {
  custom: {
    50: '#da97e9',
    500: '#c768df',
    950: '#000000',
  },
}
SCSS
$custom: #c768df;
$custom-light: #da97e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c768df",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 287.899,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67264,
    "c": 0.19175,
    "h": 319.2
  },
  "luminance": 0.2737
}

Semantic roles & 50–950 ramp

primary
#C768DF
secondary
#C5E6BD
accent
#CD193D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C768DF

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

Preview Lab → · Contrast checker → · Palette generator →

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