#B366F8#B366F8
#B366F8 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.2% C 0.214 H 305.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B366F8 |
|---|---|
| RGB | rgb(179, 102, 248) |
| HSL | hsl(272, 91%, 69%) |
| HSV | hsv(272, 59%, 97%) |
| CMYK | cmyk(27.8%, 58.9%, 0%, 2.7%) |
| CIE-LAB | lab(57.91, 57.00, -61.42) |
| CIE-LCH | lch(57.91, 83.79, 312.87°) |
| OKLab | oklab(66.15% 0.1245 -0.1735) |
| OKLCH | oklch(66.15% 0.214 305.7) |
| XYZ | xyz(40.2814, 25.8641, 91.6589) |
| Luminance | 0.2586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.03
Bright Lavender
#C760FF
ΔE00 3.32
Easter Purple
#C071FE
ΔE00 3.56
Bright Lilac
#C95EFB
ΔE00 3.75
Lighter Purple
#A55AF4
ΔE00 3.99
Light Purple
#BF77F6
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366F8 #ABF866
analogous
#6A66F8 #B366F8 #F866F4
triadic
#B366F8 #F8B366 #66F8B3
tetradic
#B366F8 #F86A66 #ABF866 #66F4F8
square
#B366F8 #F86A66 #ABF866 #66F4F8
split-complementary
#B366F8 #F4F866 #66F86A
monochromatic
#770ADA #962BF5 #B366F8 #D0A1FB #EDDBFD
Accessibility & contrast
On white
3.40
#B366F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#B366F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366F8
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366F8 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2289FD
Deuteranopia (green-blind)
#498BF5
Tritanopia (blue-blind)
#A783A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b366f8; /* rgb */ color: rgb(179, 102, 248); /* oklch */ color: oklch(66.2% 0.214 305.7);
Tailwind
colors: {
custom: {
50: '#ce95fb',
500: '#b366f8',
950: '#000000',
},
}SCSS
$custom: #b366f8; $custom-light: #ce95fb; $custom-dark: #000000;
JSON
{
"hex": "#b366f8",
"rgb": {
"r": 179,
"g": 102,
"b": 248
},
"hsl": {
"h": 271.644,
"s": 91.25,
"l": 68.627
},
"oklch": {
"l": 0.66151,
"c": 0.21351,
"h": 305.7
},
"luminance": 0.25864
}Semantic roles & 50–950 ramp
primary
#B366F8
secondary
#DCF3C7
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85