#B766CD#B766CD
#B766CD is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.2% C 0.169 H 318.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B766CD |
|---|---|
| RGB | rgb(183, 102, 205) |
| HSL | hsl(287, 51%, 60%) |
| HSV | hsv(287, 50%, 80%) |
| CMYK | cmyk(10.7%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(56.07, 48.76, -40.18) |
| CIE-LCH | lch(56.07, 63.19, 320.51°) |
| OKLab | oklab(64.16% 0.127 -0.1114) |
| OKLCH | oklch(64.16% 0.169 318.7) |
| XYZ | xyz(35.2978, 23.9791, 60.5148) |
| Luminance | 0.2398 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.82
Soft Purple
#A66FB5
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 6.13
Pinkish Purple
#D648D7
ΔE00 6.36
Pinky Purple
#C94CBE
ΔE00 6.37
Orchid (survey)
#C875C4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B766CD #7CCD66
analogous
#8366CD #B766CD #CD66B0
triadic
#B766CD #CDB766 #66CDB7
tetradic
#B766CD #CD8366 #7CCD66 #66B0CD
square
#B766CD #CD8366 #7CCD66 #66B0CD
split-complementary
#B766CD #B0CD66 #66CD83
monochromatic
#772D8B #9F3DB9 #B766CD #CD94DC #E2C2EB
Accessibility & contrast
On white
3.62
#B766CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#B766CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B766CD
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B766CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B766CD | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#B77590
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #b766cd; /* rgb */ color: rgb(183, 102, 205); /* oklch */ color: oklch(64.2% 0.169 318.7);
Tailwind
colors: {
custom: {
50: '#cf94dc',
500: '#b766cd',
950: '#000000',
},
}SCSS
$custom: #b766cd; $custom-light: #cf94dc; $custom-dark: #000000;
JSON
{
"hex": "#b766cd",
"rgb": {
"r": 183,
"g": 102,
"b": 205
},
"hsl": {
"h": 287.184,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.64155,
"c": 0.16898,
"h": 318.7
},
"luminance": 0.23978
}Semantic roles & 50–950 ramp
primary
#B766CD
secondary
#BCDBB4
accent
#BE2748
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83