#B26DF2#B26DF2
#B26DF2 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.7% C 0.197 H 305.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B26DF2 |
|---|---|
| RGB | rgb(178, 109, 242) |
| HSL | hsl(271, 84%, 69%) |
| HSV | hsv(271, 55%, 95%) |
| CMYK | cmyk(26.4%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(58.80, 51.81, -56.67) |
| CIE-LCH | lch(58.80, 76.78, 312.44°) |
| OKLab | oklab(66.67% 0.1146 -0.1596) |
| OKLCH | oklch(66.67% 0.197 305.7) |
| XYZ | xyz(39.8523, 26.8134, 87.0632) |
| Luminance | 0.2681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.76
Easter Purple
#C071FE
ΔE00 2.89
Light Purple
#BF77F6
ΔE00 3.42
Bright Lavender
#C760FF
ΔE00 4.04
Bright Lilac
#C95EFB
ΔE00 4.42
Lighter Purple
#A55AF4
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26DF2 #ADF26D
analogous
#706DF2 #B26DF2 #F26DEF
triadic
#B26DF2 #F2B26D #6DF2B2
tetradic
#B26DF2 #F2706D #ADF26D #6DEFF2
square
#B26DF2 #F2706D #ADF26D #6DEFF2
split-complementary
#B26DF2 #EFF26D #6DF270
monochromatic
#7613D2 #9435ED #B26DF2 #D0A5F7 #EDDDFC
Accessibility & contrast
On white
3.30
#B26DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#B26DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26DF2
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26DF2 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#A786A5
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #b26df2; /* rgb */ color: rgb(178, 109, 242); /* oklch */ color: oklch(66.7% 0.197 305.7);
Tailwind
colors: {
custom: {
50: '#cc99f7',
500: '#b26df2',
950: '#000000',
},
}SCSS
$custom: #b26df2; $custom-light: #cc99f7; $custom-dark: #000000;
JSON
{
"hex": "#b26df2",
"rgb": {
"r": 178,
"g": 109,
"b": 242
},
"hsl": {
"h": 271.128,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.66669,
"c": 0.1965,
"h": 305.7
},
"luminance": 0.26813
}Semantic roles & 50–950 ramp
primary
#B26DF2
secondary
#DDF1CA
accent
#E0056F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85