#B766EF#B766EF
#B766EF is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.205 H 309.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B766EF |
|---|---|
| RGB | rgb(183, 102, 239) |
| HSL | hsl(275, 81%, 67%) |
| HSV | hsv(275, 57%, 94%) |
| CMYK | cmyk(23.4%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(57.85, 55.93, -56.48) |
| CIE-LCH | lch(57.85, 79.49, 314.72°) |
| OKLab | oklab(66.04% 0.1294 -0.1589) |
| OKLCH | oklch(66.04% 0.205 309.2) |
| XYZ | xyz(39.8568, 25.8027, 84.5254) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.45
Bright Lavender
#C760FF
ΔE00 3.04
Bright Lilac
#C95EFB
ΔE00 3.15
Easter Purple
#C071FE
ΔE00 3.57
Light Purple
#BF77F6
ΔE00 4.29
Lighter Purple
#A55AF4
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B766EF #9EEF66
analogous
#7366EF #B766EF #EF66E3
triadic
#B766EF #EFB766 #66EFB7
tetradic
#B766EF #EF7366 #9EEF66 #66E3EF
square
#B766EF #EF7366 #9EEF66 #66E3EF
split-complementary
#B766EF #E3EF66 #66EF73
monochromatic
#7D15C6 #9D2FE9 #B766EF #D19DF5 #EBD5FB
Accessibility & contrast
On white
3.41
#B766EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#B766EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B766EF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B766EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B766EF | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#AF7FA1
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b766ef; /* rgb */ color: rgb(183, 102, 239); /* oklch */ color: oklch(66.0% 0.205 309.2);
Tailwind
colors: {
custom: {
50: '#d095f5',
500: '#b766ef',
950: '#000000',
},
}SCSS
$custom: #b766ef; $custom-light: #d095f5; $custom-dark: #000000;
JSON
{
"hex": "#b766ef",
"rgb": {
"r": 183,
"g": 102,
"b": 239
},
"hsl": {
"h": 275.474,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.66043,
"c": 0.20493,
"h": 309.2
},
"luminance": 0.25802
}Semantic roles & 50–950 ramp
primary
#B766EF
secondary
#D4EEC2
accent
#DD085F
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85