#B26CD5#B26CD5
#B26CD5 is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.9% C 0.166 H 313.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B26CD5 |
|---|---|
| RGB | rgb(178, 108, 213) |
| HSL | hsl(280, 56%, 63%) |
| HSV | hsv(280, 49%, 84%) |
| CMYK | cmyk(16.4%, 49.3%, 0%, 16.5%) |
| CIE-LAB | lab(57.07, 45.90, -43.18) |
| CIE-LCH | lch(57.07, 63.02, 316.75°) |
| OKLab | oklab(64.9% 0.1137 -0.1203) |
| OKLCH | oklch(64.9% 0.166 313.4) |
| XYZ | xyz(35.7309, 24.9951, 65.8802) |
| Luminance | 0.2499 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 5.14
Light Urple
#B36FF6
ΔE00 5.37
Light Purple
#BF77F6
ΔE00 5.77
Soft Purple
#A66FB5
ΔE00 6.17
Deep Lilac
#966EBD
ΔE00 6.29
Amethyst
#9B5FC0
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26CD5 #8FD56C
analogous
#7D6CD5 #B26CD5 #D56CC3
triadic
#B26CD5 #D5B26C #6CD5B2
tetradic
#B26CD5 #D57D6C #8FD56C #6CC3D5
square
#B26CD5 #D57D6C #8FD56C #6CC3D5
split-complementary
#B26CD5 #C3D56C #6CD57D
monochromatic
#762C9A #993CC7 #B26CD5 #CB9CE3 #E4CBF0
Accessibility & contrast
On white
3.50
#B26CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#B26CD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26CD5
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26CD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26CD5 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5485D9
Deuteranopia (green-blind)
#698BD2
Tritanopia (blue-blind)
#AF7C97
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b26cd5; /* rgb */ color: rgb(178, 108, 213); /* oklch */ color: oklch(64.9% 0.166 313.4);
Tailwind
colors: {
custom: {
50: '#cb98e2',
500: '#b26cd5',
950: '#000000',
},
}SCSS
$custom: #b26cd5; $custom-light: #cb98e2; $custom-dark: #000000;
JSON
{
"hex": "#b26cd5",
"rgb": {
"r": 178,
"g": 108,
"b": 213
},
"hsl": {
"h": 280,
"s": 55.556,
"l": 62.941
},
"oklch": {
"l": 0.64896,
"c": 0.16551,
"h": 313.4
},
"luminance": 0.24994
}Semantic roles & 50–950 ramp
primary
#B26CD5
secondary
#C8E1BB
accent
#C32258
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83