#B26CE4#B26CE4
#B26CE4 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.182 H 309.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B26CE4 |
|---|---|
| RGB | rgb(178, 108, 228) |
| HSL | hsl(275, 69%, 66%) |
| HSV | hsv(275, 53%, 89%) |
| CMYK | cmyk(21.9%, 52.6%, 0%, 10.6%) |
| CIE-LAB | lab(57.84, 49.17, -50.39) |
| CIE-LCH | lch(57.84, 70.41, 314.30°) |
| OKLab | oklab(65.71% 0.1151 -0.1413) |
| OKLCH | oklch(65.71% 0.182 309.2) |
| XYZ | xyz(37.7236, 25.7921, 76.3749) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.86
Light Purple
#BF77F6
ΔE00 4.12
Easter Purple
#C071FE
ΔE00 4.26
Bright Lavender
#C760FF
ΔE00 4.83
Bright Lilac
#C95EFB
ΔE00 4.84
Lighter Purple
#A55AF4
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B26CE4 #9EE46C
analogous
#766CE4 #B26CE4 #E46CDA
triadic
#B26CE4 #E4B26C #6CE4B2
tetradic
#B26CE4 #E4766C #9EE46C #6CDAE4
square
#B26CE4 #E4766C #9EE46C #6CDAE4
split-complementary
#B26CE4 #DAE46C #6CE476
monochromatic
#7721B4 #9738DB #B26CE4 #CDA0ED #E8D3F7
Accessibility & contrast
On white
3.41
#B26CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#B26CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B26CE4
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B26CE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B26CE4 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#608CE1
Tritanopia (blue-blind)
#AB819E
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b26ce4; /* rgb */ color: rgb(178, 108, 228); /* oklch */ color: oklch(65.7% 0.182 309.2);
Tailwind
colors: {
custom: {
50: '#cc98ed',
500: '#b26ce4',
950: '#000000',
},
}SCSS
$custom: #b26ce4; $custom-light: #cc98ed; $custom-dark: #000000;
JSON
{
"hex": "#b26ce4",
"rgb": {
"r": 178,
"g": 108,
"b": 228
},
"hsl": {
"h": 275,
"s": 68.966,
"l": 65.882
},
"oklch": {
"l": 0.65714,
"c": 0.18225,
"h": 309.2
},
"luminance": 0.25792
}Semantic roles & 50–950 ramp
primary
#B26CE4
secondary
#D3EAC2
accent
#D11563
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84