#B26FCC#B26FCC
#B26FCC is a light, vivid purple. Relative luminance 0.252; OKLCH L 64.9% C 0.151 H 316.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B26FCC |
|---|---|
| RGB | rgb(178, 111, 204) |
| HSL | hsl(283, 48%, 62%) |
| HSV | hsv(283, 46%, 80%) |
| CMYK | cmyk(12.7%, 45.6%, 0%, 20%) |
| CIE-LAB | lab(57.26, 42.39, -37.78) |
| CIE-LCH | lch(57.26, 56.78, 318.29°) |
| OKLab | oklab(64.9% 0.1083 -0.1046) |
| OKLCH | oklch(64.9% 0.151 316) |
| XYZ | xyz(34.9420, 25.1945, 60.1374) |
| Luminance | 0.2519 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.53
Wisteria
#A87DC2
ΔE00 5.08
Deep Lilac
#966EBD
ΔE00 5.87
Orchid (survey)
#C875C4
ΔE00 5.98
Mediumorchid
#BA55D3
ΔE00 6.04
Amethyst
#9B5FC0
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26FCC #89CC6F
analogous
#846FCC #B26FCC #CC6FB8
triadic
#B26FCC #CCB26F #6FCCB2
tetradic
#B26FCC #CC846F #89CC6F #6FB8CC
square
#B26FCC #CC846F #89CC6F #6FB8CC
split-complementary
#B26FCC #B8CC6F #6FCC84
monochromatic
#75328E #9A42BB #B26FCC #CA9CDC #E2C9EC
Accessibility & contrast
On white
3.48
#B26FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#B26FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26FCC
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26FCC | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#708CC9
Tritanopia (blue-blind)
#B17C94
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b26fcc; /* rgb */ color: rgb(178, 111, 204); /* oklch */ color: oklch(64.9% 0.151 316.0);
Tailwind
colors: {
custom: {
50: '#cb9adc',
500: '#b26fcc',
950: '#000000',
},
}SCSS
$custom: #b26fcc; $custom-light: #cb9adc; $custom-dark: #000000;
JSON
{
"hex": "#b26fcc",
"rgb": {
"r": 178,
"g": 111,
"b": 204
},
"hsl": {
"h": 283.226,
"s": 47.692,
"l": 61.765
},
"oklch": {
"l": 0.64899,
"c": 0.15056,
"h": 316
},
"luminance": 0.25193
}Semantic roles & 50–950 ramp
primary
#B26FCC
secondary
#C4DDBA
accent
#BB2B53
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83