#B266F7#B266F7
#B266F7 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.212 H 305.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B266F7 |
|---|---|
| RGB | rgb(178, 102, 247) |
| HSL | hsl(271, 90%, 68%) |
| HSV | hsv(271, 59%, 97%) |
| CMYK | cmyk(27.9%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(57.74, 56.55, -61.14) |
| CIE-LCH | lch(57.74, 83.28, 312.76°) |
| OKLab | oklab(65.98% 0.1232 -0.1727) |
| OKLCH | oklch(65.98% 0.212 305.5) |
| XYZ | xyz(39.8963, 25.6834, 90.8332) |
| Luminance | 0.2568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.06
Bright Lavender
#C760FF
ΔE00 3.49
Easter Purple
#C071FE
ΔE00 3.70
Lighter Purple
#A55AF4
ΔE00 3.85
Bright Lilac
#C95EFB
ΔE00 3.90
Light Purple
#BF77F6
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B266F7 #ABF766
analogous
#6966F7 #B266F7 #F766F4
triadic
#B266F7 #F7B266 #66F7B2
tetradic
#B266F7 #F76966 #ABF766 #66F4F7
square
#B266F7 #F76966 #ABF766 #66F4F7
split-complementary
#B266F7 #F4F766 #66F769
monochromatic
#760BD7 #952CF4 #B266F7 #CFA0FA #EDDAFD
Accessibility & contrast
On white
3.42
#B266F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#B266F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B266F7
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B266F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B266F7 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2388FC
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#A683A5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b266f7; /* rgb */ color: rgb(178, 102, 247); /* oklch */ color: oklch(66.0% 0.212 305.5);
Tailwind
colors: {
custom: {
50: '#cd95fb',
500: '#b266f7',
950: '#000000',
},
}SCSS
$custom: #b266f7; $custom-light: #cd95fb; $custom-dark: #000000;
JSON
{
"hex": "#b266f7",
"rgb": {
"r": 178,
"g": 102,
"b": 247
},
"hsl": {
"h": 271.448,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.65981,
"c": 0.21217,
"h": 305.5
},
"luminance": 0.25683
}Semantic roles & 50–950 ramp
primary
#B266F7
secondary
#DBF2C7
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85