#C768DB#C768DB

#C768DB is a light, vivid purple. Relative luminance 0.272; OKLCH L 67.1% C 0.188 H 320.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C768DB
RGBrgb(199, 104, 219)
HSLhsl(290, 61%, 63%)
HSVhsv(290, 53%, 86%)
CMYKcmyk(9.1%, 52.5%, 0%, 14.1%)
CIE-LABlab(59.12, 54.88, -43.15)
CIE-LCHlch(59.12, 69.81, 321.82°)
OKLaboklab(67.06% 0.1448 -0.1197)
OKLCHoklch(67.06% 0.188 320.4)
XYZxyz(41.2881, 27.1589, 70.0714)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768DB #7CDB68
analogous
#8D68DB #C768DB #DB68B5
triadic
#C768DB #DBC768 #68DBC7
tetradic
#C768DB #DB8D68 #7CDB68 #68B5DB
square
#C768DB #DB8D68 #7CDB68 #68B5DB
split-complementary
#C768DB #B5DB68 #68DB8D
monochromatic
#8D27A2 #B537CF #C768DB #D999E7 #ECCBF3

Accessibility & contrast

On white

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

On black

6.43
#C768DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768DB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768DB#FFFFFF#000000##000000
##C768DB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388DF
Deuteranopia (green-blind)
#7292D8
Tritanopia (blue-blind)
#C87898
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c768db;
/* rgb */ color: rgb(199, 104, 219);
/* oklch */ color: oklch(67.1% 0.188 320.4);
Tailwind
colors: {
  custom: {
    50: '#da97e6',
    500: '#c768db',
    950: '#000000',
  },
}
SCSS
$custom: #c768db;
$custom-light: #da97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c768db",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 289.565,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67056,
    "c": 0.18783,
    "h": 320.4
  },
  "luminance": 0.27157
}

Semantic roles & 50–950 ramp

primary
#C768DB
secondary
#C2E4BB
accent
#C91C3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C768DB

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

Preview Lab → · Contrast checker → · Palette generator →

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