#B766F2#B766F2
#B766F2 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.2% C 0.208 H 308.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B766F2 |
|---|---|
| RGB | rgb(183, 102, 242) |
| HSL | hsl(275, 84%, 67%) |
| HSV | hsv(275, 58%, 95%) |
| CMYK | cmyk(24.4%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.02, 56.59, -57.88) |
| CIE-LCH | lch(58.02, 80.95, 314.35°) |
| OKLab | oklab(66.22% 0.1294 -0.163) |
| OKLCH | oklch(66.22% 0.208 308.5) |
| XYZ | xyz(40.3036, 25.9814, 86.8789) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.23
Bright Lavender
#C760FF
ΔE00 2.86
Bright Lilac
#C95EFB
ΔE00 3.07
Easter Purple
#C071FE
ΔE00 3.36
Light Purple
#BF77F6
ΔE00 4.24
Lighter Purple
#A55AF4
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B766F2 #A1F266
analogous
#7166F2 #B766F2 #F266E7
triadic
#B766F2 #F2B766 #66F2B7
tetradic
#B766F2 #F27166 #A1F266 #66E7F2
square
#B766F2 #F27166 #A1F266 #66E7F2
split-complementary
#B766F2 #E7F266 #66F271
monochromatic
#7D11CC #9C2EED #B766F2 #D29EF7 #ECD7FC
Accessibility & contrast
On white
3.39
#B766F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#B766F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B766F2
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B766F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B766F2 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3088F7
Deuteranopia (green-blind)
#538CEF
Tritanopia (blue-blind)
#AE80A3
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b766f2; /* rgb */ color: rgb(183, 102, 242); /* oklch */ color: oklch(66.2% 0.208 308.5);
Tailwind
colors: {
custom: {
50: '#d095f7',
500: '#b766f2',
950: '#000000',
},
}SCSS
$custom: #b766f2; $custom-light: #d095f7; $custom-dark: #000000;
JSON
{
"hex": "#b766f2",
"rgb": {
"r": 183,
"g": 102,
"b": 242
},
"hsl": {
"h": 274.714,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.66222,
"c": 0.20814,
"h": 308.5
},
"luminance": 0.25981
}Semantic roles & 50–950 ramp
primary
#B766F2
secondary
#D6F0C4
accent
#E10561
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85