#B26AEE#B26AEE
#B26AEE is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.196 H 307.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B26AEE |
|---|---|
| RGB | rgb(178, 106, 238) |
| HSL | hsl(273, 80%, 67%) |
| HSV | hsv(273, 55%, 93%) |
| CMYK | cmyk(25.2%, 55.5%, 0%, 6.7%) |
| CIE-LAB | lab(57.99, 52.46, -55.74) |
| CIE-LCH | lch(57.99, 76.55, 313.26°) |
| OKLab | oklab(66% 0.1182 -0.1569) |
| OKLCH | oklch(66% 0.196 307) |
| XYZ | xyz(38.9436, 25.9465, 83.8289) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.69
Easter Purple
#C071FE
ΔE00 3.50
Bright Lavender
#C760FF
ΔE00 3.93
Light Purple
#BF77F6
ΔE00 4.00
Bright Lilac
#C95EFB
ΔE00 4.16
Lighter Purple
#A55AF4
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26AEE #A6EE6A
analogous
#706AEE #B26AEE #EE6AE8
triadic
#B26AEE #EEB26A #6AEEB2
tetradic
#B26AEE #EE706A #A6EE6A #6AE8EE
square
#B26AEE #EE706A #A6EE6A #6AE8EE
split-complementary
#B26AEE #E8EE6A #6AEE70
monochromatic
#7717C7 #9633E8 #B26AEE #CEA1F4 #EBD8FB
Accessibility & contrast
On white
3.39
#B26AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#B26AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26AEE
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26AEE | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B89F2
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#A983A2
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b26aee; /* rgb */ color: rgb(178, 106, 238); /* oklch */ color: oklch(66.0% 0.196 307.0);
Tailwind
colors: {
custom: {
50: '#cc97f4',
500: '#b26aee',
950: '#000000',
},
}SCSS
$custom: #b26aee; $custom-light: #cc97f4; $custom-dark: #000000;
JSON
{
"hex": "#b26aee",
"rgb": {
"r": 178,
"g": 106,
"b": 238
},
"hsl": {
"h": 272.727,
"s": 79.518,
"l": 67.451
},
"oklch": {
"l": 0.65999,
"c": 0.19646,
"h": 307
},
"luminance": 0.25946
}Semantic roles & 50–950 ramp
primary
#B26AEE
secondary
#D8EFC5
accent
#DC0A69
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85