#B26CD4#B26CD4
#B26CD4 is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.8% C 0.164 H 313.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B26CD4 |
|---|---|
| RGB | rgb(178, 108, 212) |
| HSL | hsl(280, 55%, 63%) |
| HSV | hsv(280, 49%, 83%) |
| CMYK | cmyk(16%, 49.1%, 0%, 16.9%) |
| CIE-LAB | lab(57.02, 45.69, -42.69) |
| CIE-LCH | lch(57.02, 62.53, 316.94°) |
| OKLab | oklab(64.84% 0.1136 -0.1188) |
| OKLCH | oklch(64.84% 0.164 313.7) |
| XYZ | xyz(35.6044, 24.9445, 65.2138) |
| Luminance | 0.2494 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 5.13
Light Urple
#B36FF6
ΔE00 5.55
Light Purple
#BF77F6
ΔE00 5.91
Soft Purple
#A66FB5
ΔE00 6.01
Deep Lilac
#966EBD
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26CD4 #8ED46C
analogous
#7E6CD4 #B26CD4 #D46CC2
triadic
#B26CD4 #D4B26C #6CD4B2
tetradic
#B26CD4 #D47E6C #8ED46C #6CC2D4
square
#B26CD4 #D47E6C #8ED46C #6CC2D4
split-complementary
#B26CD4 #C2D46C #6CD47E
monochromatic
#762D99 #993DC6 #B26CD4 #CB9BE2 #E4CBF0
Accessibility & contrast
On white
3.51
#B26CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#B26CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26CD4
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26CD4 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#698BD1
Tritanopia (blue-blind)
#AF7C96
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b26cd4; /* rgb */ color: rgb(178, 108, 212); /* oklch */ color: oklch(64.8% 0.164 313.7);
Tailwind
colors: {
custom: {
50: '#cb98e1',
500: '#b26cd4',
950: '#000000',
},
}SCSS
$custom: #b26cd4; $custom-light: #cb98e1; $custom-dark: #000000;
JSON
{
"hex": "#b26cd4",
"rgb": {
"r": 178,
"g": 108,
"b": 212
},
"hsl": {
"h": 280.385,
"s": 54.737,
"l": 62.745
},
"oklch": {
"l": 0.64843,
"c": 0.1644,
"h": 313.7
},
"luminance": 0.24944
}Semantic roles & 50–950 ramp
primary
#B26CD4
secondary
#C7E1BB
accent
#C22357
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83