#C766BF#C766BF
#C766BF is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.4% C 0.165 H 330.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C766BF |
|---|---|
| RGB | rgb(199, 102, 191) |
| HSL | hsl(305, 46%, 59%) |
| HSV | hsv(305, 49%, 78%) |
| CMYK | cmyk(0%, 48.7%, 4%, 22%) |
| CIE-LAB | lab(57.47, 50.71, -29.85) |
| CIE-LCH | lch(57.47, 58.85, 329.51°) |
| OKLab | oklab(65.42% 0.1434 -0.0814) |
| OKLCH | oklch(65.42% 0.165 330.4) |
| XYZ | xyz(37.7082, 25.4087, 52.1983) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.58
Purplish Pink
#CE5DAE
ΔE00 4.12
Purpleish Pink
#DF4EC8
ΔE00 4.97
Orchid
#DA70D6
ΔE00 5.02
Pinky Purple
#C94CBE
ΔE00 5.25
Pale Magenta
#D767AD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C766BF #66C76E
analogous
#9F66C7 #C766BF #C7668F
triadic
#C766BF #BFC766 #66BFC7
tetradic
#C766BF #C79F66 #66C76E #668FC7
square
#C766BF #C79F66 #66C76E #668FC7
split-complementary
#C766BF #8FC766 #66C79F
monochromatic
#83307C #B040A6 #C766BF #D793D2 #E8C0E4
Accessibility & contrast
On white
3.45
#C766BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#C766BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C766BF
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C766BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C766BF | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6182C2
Deuteranopia (green-blind)
#7D8FBC
Tritanopia (blue-blind)
#CD6E8A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c766bf; /* rgb */ color: rgb(199, 102, 191); /* oklch */ color: oklch(65.4% 0.165 330.4);
Tailwind
colors: {
custom: {
50: '#da95d2',
500: '#c766bf',
950: '#000000',
},
}SCSS
$custom: #c766bf; $custom-light: #da95d2; $custom-dark: #000000;
JSON
{
"hex": "#c766bf",
"rgb": {
"r": 199,
"g": 102,
"b": 191
},
"hsl": {
"h": 304.948,
"s": 46.411,
"l": 59.02
},
"oklch": {
"l": 0.6542,
"c": 0.16493,
"h": 330.4
},
"luminance": 0.25406
}Semantic roles & 50–950 ramp
primary
#C766BF
secondary
#B1D7B5
accent
#D65D52
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150D14
muted
#837E82