#B367E2#B367E2
#B367E2 is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.0% C 0.188 H 310.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B367E2 |
|---|---|
| RGB | rgb(179, 103, 226) |
| HSL | hsl(277, 68%, 65%) |
| HSV | hsv(277, 54%, 89%) |
| CMYK | cmyk(20.8%, 54.4%, 0%, 11.4%) |
| CIE-LAB | lab(56.86, 51.59, -50.83) |
| CIE-LCH | lch(56.86, 72.42, 315.43°) |
| OKLab | oklab(64.98% 0.1228 -0.1425) |
| OKLCH | oklch(64.98% 0.188 310.7) |
| XYZ | xyz(37.1656, 24.7759, 74.7611) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.66
Bright Lilac
#C95EFB
ΔE00 4.54
Bright Lavender
#C760FF
ΔE00 4.68
Mediumorchid
#BA55D3
ΔE00 4.78
Easter Purple
#C071FE
ΔE00 4.96
Light Purple
#BF77F6
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B367E2 #96E267
analogous
#7667E2 #B367E2 #E267D4
triadic
#B367E2 #E2B367 #67E2B3
tetradic
#B367E2 #E27667 #96E267 #67D4E2
square
#B367E2 #E27667 #96E267 #67D4E2
split-complementary
#B367E2 #D4E267 #67E276
monochromatic
#7821AD #9934D8 #B367E2 #CD9AEC #E6CEF6
Accessibility & contrast
On white
3.53
#B367E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#B367E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B367E2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B367E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B367E2 | 1.00 | 3.53 | 5.96 | 5.96 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#AD7C9B
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b367e2; /* rgb */ color: rgb(179, 103, 226); /* oklch */ color: oklch(65.0% 0.188 310.7);
Tailwind
colors: {
custom: {
50: '#cc95ec',
500: '#b367e2',
950: '#000000',
},
}SCSS
$custom: #b367e2; $custom-light: #cc95ec; $custom-dark: #000000;
JSON
{
"hex": "#b367e2",
"rgb": {
"r": 179,
"g": 103,
"b": 226
},
"hsl": {
"h": 277.073,
"s": 67.956,
"l": 64.51
},
"oklch": {
"l": 0.64981,
"c": 0.18807,
"h": 310.7
},
"luminance": 0.24775
}Semantic roles & 50–950 ramp
primary
#B367E2
secondary
#CDE8BD
accent
#D0165D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84