#B266F9#B266F9
#B266F9 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.1% C 0.214 H 305.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B266F9 |
|---|---|
| RGB | rgb(178, 102, 249) |
| HSL | hsl(271, 92%, 69%) |
| HSV | hsv(271, 59%, 98%) |
| CMYK | cmyk(28.5%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(57.85, 57.00, -62.06) |
| CIE-LCH | lch(57.85, 84.27, 312.57°) |
| OKLab | oklab(66.11% 0.1232 -0.1754) |
| OKLCH | oklch(66.11% 0.214 305.1) |
| XYZ | xyz(40.2066, 25.8075, 92.4674) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.08
Bright Lavender
#C760FF
ΔE00 3.49
Easter Purple
#C071FE
ΔE00 3.67
Lighter Purple
#A55AF4
ΔE00 3.87
Bright Lilac
#C95EFB
ΔE00 3.95
Light Purple
#BF77F6
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B266F9 #ADF966
analogous
#6966F9 #B266F9 #F966F7
triadic
#B266F9 #F9B266 #66F9B2
tetradic
#B266F9 #F96966 #ADF966 #66F7F9
square
#B266F9 #F96966 #ADF966 #66F7F9
split-complementary
#B266F9 #F7F966 #66F969
monochromatic
#7609DC #942BF7 #B266F9 #D0A1FB #EDDCFE
Accessibility & contrast
On white
3.41
#B266F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#B266F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B266F9
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B266F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B266F9 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F89FE
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#A683A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b266f9; /* rgb */ color: rgb(178, 102, 249); /* oklch */ color: oklch(66.1% 0.214 305.1);
Tailwind
colors: {
custom: {
50: '#cd95fc',
500: '#b266f9',
950: '#000000',
},
}SCSS
$custom: #b266f9; $custom-light: #cd95fc; $custom-dark: #000000;
JSON
{
"hex": "#b266f9",
"rgb": {
"r": 178,
"g": 102,
"b": 249
},
"hsl": {
"h": 271.02,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.66106,
"c": 0.21436,
"h": 305.1
},
"luminance": 0.25807
}Semantic roles & 50–950 ramp
primary
#B266F9
secondary
#DDF3C8
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86