#B266F8#B266F8
#B266F8 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.213 H 305.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B266F8 |
|---|---|
| RGB | rgb(178, 102, 248) |
| HSL | hsl(271, 91%, 69%) |
| HSV | hsv(271, 59%, 97%) |
| CMYK | cmyk(28.2%, 58.9%, 0%, 2.7%) |
| CIE-LAB | lab(57.79, 56.77, -61.60) |
| CIE-LCH | lch(57.79, 83.78, 312.66°) |
| OKLab | oklab(66.04% 0.1232 -0.1741) |
| OKLCH | oklch(66.04% 0.213 305.3) |
| XYZ | xyz(40.0511, 25.7453, 91.6481) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.07
Bright Lavender
#C760FF
ΔE00 3.49
Easter Purple
#C071FE
ΔE00 3.69
Lighter Purple
#A55AF4
ΔE00 3.86
Bright Lilac
#C95EFB
ΔE00 3.92
Light Purple
#BF77F6
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B266F8 #ACF866
analogous
#6966F8 #B266F8 #F866F5
triadic
#B266F8 #F8B266 #66F8B2
tetradic
#B266F8 #F86966 #ACF866 #66F5F8
square
#B266F8 #F86966 #ACF866 #66F5F8
split-complementary
#B266F8 #F5F866 #66F869
monochromatic
#760ADA #952BF5 #B266F8 #CFA1FB #EDDBFD
Accessibility & contrast
On white
3.42
#B266F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#B266F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B266F8
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B266F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B266F8 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2189FD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#A683A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b266f8; /* rgb */ color: rgb(178, 102, 248); /* oklch */ color: oklch(66.0% 0.213 305.3);
Tailwind
colors: {
custom: {
50: '#cd95fb',
500: '#b266f8',
950: '#000000',
},
}SCSS
$custom: #b266f8; $custom-light: #cd95fb; $custom-dark: #000000;
JSON
{
"hex": "#b266f8",
"rgb": {
"r": 178,
"g": 102,
"b": 248
},
"hsl": {
"h": 271.233,
"s": 91.25,
"l": 68.627
},
"oklch": {
"l": 0.66044,
"c": 0.21327,
"h": 305.3
},
"luminance": 0.25745
}Semantic roles & 50–950 ramp
primary
#B266F8
secondary
#DCF3C7
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85