#B26DF5#B26DF5
#B26DF5 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.200 H 305.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B26DF5 |
|---|---|
| RGB | rgb(178, 109, 245) |
| HSL | hsl(270, 87%, 69%) |
| HSV | hsv(270, 56%, 96%) |
| CMYK | cmyk(27.3%, 55.5%, 0%, 3.9%) |
| CIE-LAB | lab(58.97, 52.50, -58.06) |
| CIE-LCH | lch(58.97, 78.28, 312.12°) |
| OKLab | oklab(66.85% 0.1147 -0.1637) |
| OKLCH | oklch(66.85% 0.2 305) |
| XYZ | xyz(40.3066, 26.9951, 89.4556) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.53
Easter Purple
#C071FE
ΔE00 2.76
Light Purple
#BF77F6
ΔE00 3.46
Bright Lavender
#C760FF
ΔE00 3.98
Bright Lilac
#C95EFB
ΔE00 4.43
Lighter Purple
#A55AF4
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26DF5 #B0F56D
analogous
#6E6DF5 #B26DF5 #F56DF4
triadic
#B26DF5 #F5B26D #6DF5B2
tetradic
#B26DF5 #F56E6D #B0F56D #6DF4F5
square
#B26DF5 #F56E6D #B0F56D #6DF4F5
split-complementary
#B26DF5 #F4F56D #6DF56E
monochromatic
#750FD9 #9434F1 #B26DF5 #D0A6F9 #EEE0FD
Accessibility & contrast
On white
3.28
#B26DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#B26DF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26DF5
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26DF5 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8CF9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#A787A7
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b26df5; /* rgb */ color: rgb(178, 109, 245); /* oklch */ color: oklch(66.8% 0.200 305.0);
Tailwind
colors: {
custom: {
50: '#cc99f9',
500: '#b26df5',
950: '#000000',
},
}SCSS
$custom: #b26df5; $custom-light: #cc99f9; $custom-dark: #000000;
JSON
{
"hex": "#b26df5",
"rgb": {
"r": 178,
"g": 109,
"b": 245
},
"hsl": {
"h": 270.441,
"s": 87.179,
"l": 69.412
},
"oklch": {
"l": 0.66848,
"c": 0.19988,
"h": 305
},
"luminance": 0.26995
}Semantic roles & 50–950 ramp
primary
#B26DF5
secondary
#DFF2CB
accent
#E40271
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85