#B26BF2#B26BF2
#B26BF2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.4% C 0.199 H 306.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B26BF2 |
|---|---|
| RGB | rgb(178, 107, 242) |
| HSL | hsl(272, 84%, 68%) |
| HSV | hsv(272, 56%, 95%) |
| CMYK | cmyk(26.4%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(58.41, 52.85, -57.30) |
| CIE-LCH | lch(58.41, 77.95, 312.69°) |
| OKLab | oklab(66.38% 0.1171 -0.1614) |
| OKLCH | oklch(66.38% 0.199 306) |
| XYZ | xyz(39.6414, 26.3915, 86.9929) |
| Luminance | 0.2639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.12
Easter Purple
#C071FE
ΔE00 3.12
Light Purple
#BF77F6
ΔE00 3.77
Bright Lavender
#C760FF
ΔE00 3.84
Bright Lilac
#C95EFB
ΔE00 4.20
Lighter Purple
#A55AF4
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26BF2 #ABF26B
analogous
#6E6BF2 #B26BF2 #F26BEE
triadic
#B26BF2 #F2B26B #6BF2B2
tetradic
#B26BF2 #F26E6B #ABF26B #6BEEF2
square
#B26BF2 #F26E6B #ABF26B #6BEEF2
split-complementary
#B26BF2 #EEF26B #6BF26E
monochromatic
#7612D0 #9533ED #B26BF2 #CFA3F7 #EDDCFC
Accessibility & contrast
On white
3.34
#B26BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#B26BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26BF2
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26BF2 | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#A785A4
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #b26bf2; /* rgb */ color: rgb(178, 107, 242); /* oklch */ color: oklch(66.4% 0.199 306.0);
Tailwind
colors: {
custom: {
50: '#cc98f7',
500: '#b26bf2',
950: '#000000',
},
}SCSS
$custom: #b26bf2; $custom-light: #cc98f7; $custom-dark: #000000;
JSON
{
"hex": "#b26bf2",
"rgb": {
"r": 178,
"g": 107,
"b": 242
},
"hsl": {
"h": 271.556,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.6638,
"c": 0.19944,
"h": 306
},
"luminance": 0.26391
}Semantic roles & 50–950 ramp
primary
#B26BF2
secondary
#DBF1C8
accent
#E0056D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85