#B266F2#B266F2
#B266F2 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.7% C 0.207 H 306.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B266F2 |
|---|---|
| RGB | rgb(178, 102, 242) |
| HSL | hsl(273, 84%, 67%) |
| HSV | hsv(273, 58%, 95%) |
| CMYK | cmyk(26.4%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(57.44, 55.41, -58.84) |
| CIE-LCH | lch(57.44, 80.82, 313.28°) |
| OKLab | oklab(65.67% 0.1233 -0.1659) |
| OKLCH | oklch(65.67% 0.207 306.6) |
| XYZ | xyz(39.1351, 25.3789, 86.8241) |
| Luminance | 0.2538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.18
Bright Lavender
#C760FF
ΔE00 3.58
Bright Lilac
#C95EFB
ΔE00 3.86
Easter Purple
#C071FE
ΔE00 3.87
Lighter Purple
#A55AF4
ΔE00 3.90
Light Purple
#BF77F6
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B266F2 #A6F266
analogous
#6C66F2 #B266F2 #F266EC
triadic
#B266F2 #F2B266 #66F2B2
tetradic
#B266F2 #F26C66 #A6F266 #66ECF2
square
#B266F2 #F26C66 #A6F266 #66ECF2
split-complementary
#B266F2 #ECF266 #66F26C
monochromatic
#7711CC #962EED #B266F2 #CE9EF7 #EBD7FC
Accessibility & contrast
On white
3.46
#B266F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#B266F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B266F2
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B266F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B266F2 | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D87F7
Deuteranopia (green-blind)
#4E8AEF
Tritanopia (blue-blind)
#A881A3
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b266f2; /* rgb */ color: rgb(178, 102, 242); /* oklch */ color: oklch(65.7% 0.207 306.6);
Tailwind
colors: {
custom: {
50: '#cd95f7',
500: '#b266f2',
950: '#000000',
},
}SCSS
$custom: #b266f2; $custom-light: #cd95f7; $custom-dark: #000000;
JSON
{
"hex": "#b266f2",
"rgb": {
"r": 178,
"g": 102,
"b": 242
},
"hsl": {
"h": 272.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.65674,
"c": 0.20671,
"h": 306.6
},
"luminance": 0.25379
}Semantic roles & 50–950 ramp
primary
#B266F2
secondary
#D8F0C4
accent
#E10569
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85