#B26EE2#B26EE2
#B26EE2 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.177 H 309.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B26EE2 |
|---|---|
| RGB | rgb(178, 110, 226) |
| HSL | hsl(275, 67%, 66%) |
| HSV | hsv(275, 51%, 89%) |
| CMYK | cmyk(21.2%, 51.3%, 0%, 11.4%) |
| CIE-LAB | lab(58.14, 47.68, -48.80) |
| CIE-LCH | lch(58.14, 68.22, 314.33°) |
| OKLab | oklab(65.9% 0.1124 -0.1366) |
| OKLCH | oklch(65.9% 0.177 309.4) |
| XYZ | xyz(37.6609, 26.1084, 74.9922) |
| Luminance | 0.2611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.11
Light Purple
#BF77F6
ΔE00 3.99
Easter Purple
#C071FE
ΔE00 4.38
Bright Lilac
#C95EFB
ΔE00 5.21
Bright Lavender
#C760FF
ΔE00 5.21
Mediumpurple
#9370DB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26EE2 #9EE26E
analogous
#786EE2 #B26EE2 #E26ED8
triadic
#B26EE2 #E2B26E #6EE2B2
tetradic
#B26EE2 #E2786E #9EE26E #6ED8E2
square
#B26EE2 #E2786E #9EE26E #6ED8E2
split-complementary
#B26EE2 #D8E26E #6EE278
monochromatic
#7724B2 #973BD8 #B26EE2 #CDA1EC #E8D4F6
Accessibility & contrast
On white
3.38
#B26EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#B26EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26EE2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26EE2 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#AC829E
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #b26ee2; /* rgb */ color: rgb(178, 110, 226); /* oklch */ color: oklch(65.9% 0.177 309.4);
Tailwind
colors: {
custom: {
50: '#cb9aeb',
500: '#b26ee2',
950: '#000000',
},
}SCSS
$custom: #b26ee2; $custom-light: #cb9aeb; $custom-dark: #000000;
JSON
{
"hex": "#b26ee2",
"rgb": {
"r": 178,
"g": 110,
"b": 226
},
"hsl": {
"h": 275.172,
"s": 66.667,
"l": 65.882
},
"oklch": {
"l": 0.65902,
"c": 0.17688,
"h": 309.4
},
"luminance": 0.26108
}Semantic roles & 50–950 ramp
primary
#B26EE2
secondary
#D3E9C3
accent
#CF1763
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84