#B366E5#B366E5
#B366E5 is a light, vivid violet. Relative luminance 0.247; OKLCH L 65.0% C 0.193 H 310.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B366E5 |
|---|---|
| RGB | rgb(179, 102, 229) |
| HSL | hsl(276, 71%, 65%) |
| HSV | hsv(276, 55%, 90%) |
| CMYK | cmyk(21.8%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(56.83, 52.76, -52.56) |
| CIE-LCH | lch(56.83, 74.47, 315.11°) |
| OKLab | oklab(65.01% 0.1242 -0.1475) |
| OKLCH | oklch(65.01% 0.193 310.1) |
| XYZ | xyz(37.4820, 24.7443, 76.9151) |
| Luminance | 0.2474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.39
Bright Lilac
#C95EFB
ΔE00 4.26
Bright Lavender
#C760FF
ΔE00 4.34
Easter Purple
#C071FE
ΔE00 4.76
Lighter Purple
#A55AF4
ΔE00 4.84
Mediumorchid
#BA55D3
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366E5 #98E566
analogous
#7466E5 #B366E5 #E566D8
triadic
#B366E5 #E5B366 #66E5B3
tetradic
#B366E5 #E57466 #98E566 #66D8E5
square
#B366E5 #E57466 #98E566 #66D8E5
split-complementary
#B366E5 #D8E566 #66E574
monochromatic
#781EB2 #9932DC #B366E5 #CD9AEE #E7CFF7
Accessibility & contrast
On white
3.53
#B366E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#B366E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366E5
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366E5 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#5A8AE2
Tritanopia (blue-blind)
#AD7D9C
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b366e5; /* rgb */ color: rgb(179, 102, 229); /* oklch */ color: oklch(65.0% 0.193 310.1);
Tailwind
colors: {
custom: {
50: '#cd95ee',
500: '#b366e5',
950: '#000000',
},
}SCSS
$custom: #b366e5; $custom-light: #cd95ee; $custom-dark: #000000;
JSON
{
"hex": "#b366e5",
"rgb": {
"r": 179,
"g": 102,
"b": 229
},
"hsl": {
"h": 276.378,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.65011,
"c": 0.19284,
"h": 310.1
},
"luminance": 0.24744
}Semantic roles & 50–950 ramp
primary
#B366E5
secondary
#CFE9BE
accent
#D3135E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84