#B266E5#B266E5
#B266E5 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.193 H 309.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B266E5 |
|---|---|
| RGB | rgb(178, 102, 229) |
| HSL | hsl(276, 71%, 65%) |
| HSV | hsv(276, 55%, 90%) |
| CMYK | cmyk(22.3%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(56.71, 52.51, -52.75) |
| CIE-LCH | lch(56.71, 74.43, 314.87°) |
| OKLab | oklab(64.9% 0.123 -0.1481) |
| OKLCH | oklch(64.9% 0.193 309.7) |
| XYZ | xyz(37.2516, 24.6255, 76.9043) |
| Luminance | 0.2462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Bright Lilac
#C95EFB
ΔE00 4.38
Bright Lavender
#C760FF
ΔE00 4.45
Lighter Purple
#A55AF4
ΔE00 4.69
Easter Purple
#C071FE
ΔE00 4.83
Mediumorchid
#BA55D3
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B266E5 #99E566
analogous
#7366E5 #B266E5 #E566D8
triadic
#B266E5 #E5B266 #66E5B2
tetradic
#B266E5 #E57366 #99E566 #66D8E5
square
#B266E5 #E57366 #99E566 #66D8E5
split-complementary
#B266E5 #D8E566 #66E573
monochromatic
#771EB2 #9832DC #B266E5 #CC9AEE #E7CFF7
Accessibility & contrast
On white
3.54
#B266E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#B266E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B266E5
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B266E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B266E5 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D85E9
Deuteranopia (green-blind)
#5989E2
Tritanopia (blue-blind)
#AB7D9C
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b266e5; /* rgb */ color: rgb(178, 102, 229); /* oklch */ color: oklch(64.9% 0.193 309.7);
Tailwind
colors: {
custom: {
50: '#cc94ee',
500: '#b266e5',
950: '#000000',
},
}SCSS
$custom: #b266e5; $custom-light: #cc94ee; $custom-dark: #000000;
JSON
{
"hex": "#b266e5",
"rgb": {
"r": 178,
"g": 102,
"b": 229
},
"hsl": {
"h": 275.906,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.649,
"c": 0.19251,
"h": 309.7
},
"luminance": 0.24625
}Semantic roles & 50–950 ramp
primary
#B266E5
secondary
#CFE9BE
accent
#D31360
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84