#C766DB#C766DB

#C766DB is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.8% C 0.191 H 320.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#C766DB
RGBrgb(199, 102, 219)
HSLhsl(290, 62%, 63%)
HSVhsv(290, 53%, 86%)
CMYKcmyk(9.1%, 53.4%, 0%, 14.1%)
CIE-LABlab(58.75, 55.86, -43.73)
CIE-LCHlch(58.75, 70.94, 321.94°)
OKLaboklab(66.79% 0.1474 -0.1213)
OKLCHoklch(66.79% 0.191 320.5)
XYZxyz(41.0892, 26.7611, 70.0051)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766DB #7ADB66
analogous
#8D66DB #C766DB #DB66B4
triadic
#C766DB #DBC766 #66DBC7
tetradic
#C766DB #DB8D66 #7ADB66 #66B4DB
square
#C766DB #DB8D66 #7ADB66 #66B4DB
split-complementary
#C766DB #B4DB66 #66DB8D
monochromatic
#8C26A1 #B534CF #C766DB #D998E7 #EBC9F2

Accessibility & contrast

On white

3.31
#C766DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#C766DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766DB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766DB#FFFFFF#000000##000000
##C766DB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DF
Deuteranopia (green-blind)
#7091D8
Tritanopia (blue-blind)
#C87797
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c766db;
/* rgb */ color: rgb(199, 102, 219);
/* oklch */ color: oklch(66.8% 0.191 320.5);
Tailwind
colors: {
  custom: {
    50: '#da96e6',
    500: '#c766db',
    950: '#000000',
  },
}
SCSS
$custom: #c766db;
$custom-light: #da96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c766db",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 289.744,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66785,
    "c": 0.19092,
    "h": 320.5
  },
  "luminance": 0.26759
}

Semantic roles & 50–950 ramp

primary
#C766DB
secondary
#C1E3B9
accent
#CA1C3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C766DB

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

Preview Lab → · Contrast checker → · Palette generator →

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