#B26CD3#B26CD3
#B26CD3 is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.8% C 0.163 H 314.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B26CD3 |
|---|---|
| RGB | rgb(178, 108, 211) |
| HSL | hsl(281, 54%, 63%) |
| HSV | hsv(281, 49%, 83%) |
| CMYK | cmyk(15.6%, 48.8%, 0%, 17.3%) |
| CIE-LAB | lab(56.97, 45.47, -42.20) |
| CIE-LCH | lch(56.97, 62.04, 317.14°) |
| OKLab | oklab(64.79% 0.1135 -0.1174) |
| OKLCH | oklch(64.79% 0.163 314) |
| XYZ | xyz(35.4786, 24.8942, 64.5515) |
| Luminance | 0.2489 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 5.12
Light Urple
#B36FF6
ΔE00 5.72
Soft Purple
#A66FB5
ΔE00 5.85
Light Purple
#BF77F6
ΔE00 6.05
Deep Lilac
#966EBD
ΔE00 6.16
Amethyst
#9B5FC0
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26CD3 #8DD36C
analogous
#7F6CD3 #B26CD3 #D36CC0
triadic
#B26CD3 #D3B26C #6CD3B2
tetradic
#B26CD3 #D37F6C #8DD36C #6CC0D3
square
#B26CD3 #D37F6C #8DD36C #6CC0D3
split-complementary
#B26CD3 #C0D36C #6CD37F
monochromatic
#752D97 #993DC5 #B26CD3 #CB9BE1 #E3CAEF
Accessibility & contrast
On white
3.51
#B26CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#B26CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26CD3
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26CD3 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#6A8BD0
Tritanopia (blue-blind)
#AF7C96
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b26cd3; /* rgb */ color: rgb(178, 108, 211); /* oklch */ color: oklch(64.8% 0.163 314.0);
Tailwind
colors: {
custom: {
50: '#cb98e1',
500: '#b26cd3',
950: '#000000',
},
}SCSS
$custom: #b26cd3; $custom-light: #cb98e1; $custom-dark: #000000;
JSON
{
"hex": "#b26cd3",
"rgb": {
"r": 178,
"g": 108,
"b": 211
},
"hsl": {
"h": 280.777,
"s": 53.927,
"l": 62.549
},
"oklch": {
"l": 0.64791,
"c": 0.1633,
"h": 314
},
"luminance": 0.24893
}Semantic roles & 50–950 ramp
primary
#B26CD3
secondary
#C7E0BB
accent
#C12456
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83