#C768DA#C768DA

#C768DA is a light, vivid purple. Relative luminance 0.271; OKLCH L 67.0% C 0.187 H 320.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#C768DA
RGBrgb(199, 104, 218)
HSLhsl(290, 61%, 63%)
HSVhsv(290, 52%, 85%)
CMYKcmyk(8.7%, 52.3%, 0%, 14.5%)
CIE-LABlab(59.07, 54.68, -42.67)
CIE-LCHlch(59.07, 69.36, 322.04°)
OKLaboklab(67.01% 0.1447 -0.1183)
OKLCHoklch(67.01% 0.187 320.7)
XYZxyz(41.1569, 27.1064, 69.3802)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768DA #7BDA68
analogous
#8E68DA #C768DA #DA68B4
triadic
#C768DA #DAC768 #68DAC7
tetradic
#C768DA #DA8E68 #7BDA68 #68B4DA
square
#C768DA #DA8E68 #7BDA68 #68B4DA
split-complementary
#C768DA #B4DA68 #68DA8E
monochromatic
#8C27A0 #B537CE #C768DA #D999E6 #EBCAF2

Accessibility & contrast

On white

3.27
#C768DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#C768DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768DA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768DA#FFFFFF#000000##000000
##C768DA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DE
Deuteranopia (green-blind)
#7292D7
Tritanopia (blue-blind)
#C97897
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c768da;
/* rgb */ color: rgb(199, 104, 218);
/* oklch */ color: oklch(67.0% 0.187 320.7);
Tailwind
colors: {
  custom: {
    50: '#da97e6',
    500: '#c768da',
    950: '#000000',
  },
}
SCSS
$custom: #c768da;
$custom-light: #da97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c768da",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 290,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67005,
    "c": 0.18685,
    "h": 320.7
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#C768DA
secondary
#C1E3BA
accent
#C81D3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C768DA

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

Preview Lab → · Contrast checker → · Palette generator →

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