#B26FDB#B26FDB
#B26FDB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.167 H 311.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B26FDB |
|---|---|
| RGB | rgb(178, 111, 219) |
| HSL | hsl(277, 60%, 65%) |
| HSV | hsv(277, 49%, 86%) |
| CMYK | cmyk(18.7%, 49.3%, 0%, 14.1%) |
| CIE-LAB | lab(57.99, 45.60, -45.11) |
| CIE-LCH | lch(57.99, 64.14, 315.31°) |
| OKLab | oklab(65.67% 0.1103 -0.1259) |
| OKLCH | oklch(65.67% 0.167 311.2) |
| XYZ | xyz(36.8284, 25.9490, 70.0727) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.30
Light Purple
#BF77F6
ΔE00 4.66
Easter Purple
#C071FE
ΔE00 5.33
Bright Lilac
#C95EFB
ΔE00 5.99
Mediumorchid
#BA55D3
ΔE00 6.03
Bright Lavender
#C760FF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26FDB #98DB6F
analogous
#7C6FDB #B26FDB #DB6FCE
triadic
#B26FDB #DBB26F #6FDBB2
tetradic
#B26FDB #DB7C6F #98DB6F #6FCEDB
square
#B26FDB #DB7C6F #98DB6F #6FCEDB
split-complementary
#B26FDB #CEDB6F #6FDB7C
monochromatic
#772AA6 #983ECF #B26FDB #CCA0E7 #E6D1F3
Accessibility & contrast
On white
3.39
#B26FDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#B26FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26FDB
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26FDB | 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)
#5588DF
Deuteranopia (green-blind)
#688DD8
Tritanopia (blue-blind)
#AD809B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b26fdb; /* rgb */ color: rgb(178, 111, 219); /* oklch */ color: oklch(65.7% 0.167 311.2);
Tailwind
colors: {
custom: {
50: '#cb9ae6',
500: '#b26fdb',
950: '#000000',
},
}SCSS
$custom: #b26fdb; $custom-light: #cb9ae6; $custom-dark: #000000;
JSON
{
"hex": "#b26fdb",
"rgb": {
"r": 178,
"g": 111,
"b": 219
},
"hsl": {
"h": 277.222,
"s": 60,
"l": 64.706
},
"oklch": {
"l": 0.65674,
"c": 0.16737,
"h": 311.2
},
"luminance": 0.25948
}Semantic roles & 50–950 ramp
primary
#B26FDB
secondary
#CEE5C0
accent
#C81E5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84