#B26BD2#B26BD2
#B26BD2 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.6% C 0.164 H 314.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B26BD2 |
|---|---|
| RGB | rgb(178, 107, 210) |
| HSL | hsl(281, 53%, 62%) |
| HSV | hsv(281, 49%, 82%) |
| CMYK | cmyk(15.2%, 49%, 0%, 17.6%) |
| CIE-LAB | lab(56.72, 45.79, -42.04) |
| CIE-LCH | lch(56.72, 62.16, 317.45°) |
| OKLab | oklab(64.59% 0.1147 -0.1169) |
| OKLCH | oklch(64.59% 0.164 314.5) |
| XYZ | xyz(35.2488, 24.6344, 63.8584) |
| Luminance | 0.2463 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.88
Soft Purple
#A66FB5
ΔE00 5.75
Light Urple
#B36FF6
ΔE00 5.92
Amethyst
#9B5FC0
ΔE00 6.05
Deep Lilac
#966EBD
ΔE00 6.14
Light Purple
#BF77F6
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26BD2 #8BD26B
analogous
#7F6BD2 #B26BD2 #D26BBF
triadic
#B26BD2 #D2B26B #6BD2B2
tetradic
#B26BD2 #D27F6B #8BD26B #6BBFD2
square
#B26BD2 #D27F6B #8BD26B #6BBFD2
split-complementary
#B26BD2 #BFD26B #6BD27F
monochromatic
#752D95 #9A3CC4 #B26BD2 #CA9AE0 #E3C9EF
Accessibility & contrast
On white
3.54
#B26BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#B26BD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26BD2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26BD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26BD2 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5584D6
Deuteranopia (green-blind)
#6A8ACF
Tritanopia (blue-blind)
#B07B95
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b26bd2; /* rgb */ color: rgb(178, 107, 210); /* oklch */ color: oklch(64.6% 0.164 314.5);
Tailwind
colors: {
custom: {
50: '#cb97e0',
500: '#b26bd2',
950: '#000000',
},
}SCSS
$custom: #b26bd2; $custom-light: #cb97e0; $custom-dark: #000000;
JSON
{
"hex": "#b26bd2",
"rgb": {
"r": 178,
"g": 107,
"b": 210
},
"hsl": {
"h": 281.359,
"s": 53.368,
"l": 62.157
},
"oklch": {
"l": 0.64586,
"c": 0.16383,
"h": 314.5
},
"luminance": 0.24634
}Semantic roles & 50–950 ramp
primary
#B26BD2
secondary
#C5DFB9
accent
#C12555
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83