#B266FC#B266FC
#B266FC is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.3% C 0.218 H 304.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B266FC |
|---|---|
| RGB | rgb(178, 102, 252) |
| HSL | hsl(270, 96%, 69%) |
| HSV | hsv(270, 60%, 99%) |
| CMYK | cmyk(29.4%, 59.5%, 0%, 1.2%) |
| CIE-LAB | lab(58.03, 57.69, -63.43) |
| CIE-LCH | lch(58.03, 85.74, 312.29°) |
| OKLab | oklab(66.29% 0.1232 -0.1794) |
| OKLCH | oklch(66.29% 0.218 304.5) |
| XYZ | xyz(40.6783, 25.9962, 94.9513) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.18
Bright Lavender
#C760FF
ΔE00 3.53
Easter Purple
#C071FE
ΔE00 3.66
Lighter Purple
#A55AF4
ΔE00 3.95
Bright Lilac
#C95EFB
ΔE00 4.05
Light Purple
#BF77F6
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B266FC #B0FC66
analogous
#6766FC #B266FC #FC66FB
triadic
#B266FC #FCB266 #66FCB2
tetradic
#B266FC #FC6766 #B0FC66 #66FBFC
square
#B266FC #FC6766 #B0FC66 #66FBFC
split-complementary
#B266FC #FBFC66 #66FC67
monochromatic
#7504E3 #942AFB #B266FC #D0A2FD #EEDEFE
Accessibility & contrast
On white
3.39
#B266FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#B266FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B266FC
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B266FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B266FC | 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)
#1689FF
Deuteranopia (green-blind)
#438BF9
Tritanopia (blue-blind)
#A584A8
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b266fc; /* rgb */ color: rgb(178, 102, 252); /* oklch */ color: oklch(66.3% 0.218 304.5);
Tailwind
colors: {
custom: {
50: '#cd95fe',
500: '#b266fc',
950: '#000000',
},
}SCSS
$custom: #b266fc; $custom-light: #cd95fe; $custom-dark: #000000;
JSON
{
"hex": "#b266fc",
"rgb": {
"r": 178,
"g": 102,
"b": 252
},
"hsl": {
"h": 270.4,
"s": 96.154,
"l": 69.412
},
"oklch": {
"l": 0.66294,
"c": 0.21763,
"h": 304.5
},
"luminance": 0.25996
}Semantic roles & 50–950 ramp
primary
#B266FC
secondary
#DFF5C9
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86