#C768DD#C768DD

#C768DD is a light, vivid purple. Relative luminance 0.273; OKLCH L 67.2% C 0.190 H 319.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C768DD
RGBrgb(199, 104, 221)
HSLhsl(289, 63%, 64%)
HSVhsv(289, 53%, 87%)
CMYKcmyk(10%, 52.9%, 0%, 13.3%)
CIE-LABlab(59.22, 55.26, -44.12)
CIE-LCHlch(59.22, 70.72, 321.40°)
OKLaboklab(67.16% 0.145 -0.1225)
OKLCHoklch(67.16% 0.19 319.8)
XYZxyz(41.5530, 27.2649, 71.4664)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768DD #7EDD68
analogous
#8C68DD #C768DD #DD68B8
triadic
#C768DD #DDC768 #68DDC7
tetradic
#C768DD #DD8C68 #7EDD68 #68B8DD
square
#C768DD #DD8C68 #7EDD68 #68B8DD
split-complementary
#C768DD #B8DD68 #68DD8C
monochromatic
#8D25A5 #B436D2 #C768DD #DA9AE8 #ECCCF3

Accessibility & contrast

On white

3.25
#C768DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C768DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768DD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768DD#FFFFFF#000000##000000
##C768DD1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#7192DA
Tritanopia (blue-blind)
#C87999
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c768dd;
/* rgb */ color: rgb(199, 104, 221);
/* oklch */ color: oklch(67.2% 0.190 319.8);
Tailwind
colors: {
  custom: {
    50: '#da97e8',
    500: '#c768dd',
    950: '#000000',
  },
}
SCSS
$custom: #c768dd;
$custom-light: #da97e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c768dd",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 288.718,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6716,
    "c": 0.18978,
    "h": 319.8
  },
  "luminance": 0.27263
}

Semantic roles & 50–950 ramp

primary
#C768DD
secondary
#C4E5BC
accent
#CB1A3C
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C768DD

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

Preview Lab → · Contrast checker → · Palette generator →

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