#B366F7#B366F7
#B366F7 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.1% C 0.212 H 305.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B366F7 |
|---|---|
| RGB | rgb(179, 102, 247) |
| HSL | hsl(272, 90%, 68%) |
| HSV | hsv(272, 59%, 97%) |
| CMYK | cmyk(27.5%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(57.85, 56.78, -60.96) |
| CIE-LCH | lch(57.85, 83.30, 312.97°) |
| OKLab | oklab(66.09% 0.1245 -0.1721) |
| OKLCH | oklch(66.09% 0.212 305.9) |
| XYZ | xyz(40.1267, 25.8022, 90.8440) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.02
Bright Lavender
#C760FF
ΔE00 3.32
Easter Purple
#C071FE
ΔE00 3.58
Bright Lilac
#C95EFB
ΔE00 3.73
Lighter Purple
#A55AF4
ΔE00 3.98
Light Purple
#BF77F6
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366F7 #AAF766
analogous
#6A66F7 #B366F7 #F766F2
triadic
#B366F7 #F7B366 #66F7B3
tetradic
#B366F7 #F76A66 #AAF766 #66F2F7
square
#B366F7 #F76A66 #AAF766 #66F2F7
split-complementary
#B366F7 #F2F766 #66F76A
monochromatic
#780BD7 #962CF4 #B366F7 #D0A0FA #EDDAFD
Accessibility & contrast
On white
3.41
#B366F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#B366F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366F7
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366F7 | 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)
#2489FC
Deuteranopia (green-blind)
#4A8BF4
Tritanopia (blue-blind)
#A883A5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b366f7; /* rgb */ color: rgb(179, 102, 247); /* oklch */ color: oklch(66.1% 0.212 305.9);
Tailwind
colors: {
custom: {
50: '#ce95fb',
500: '#b366f7',
950: '#000000',
},
}SCSS
$custom: #b366f7; $custom-light: #ce95fb; $custom-dark: #000000;
JSON
{
"hex": "#b366f7",
"rgb": {
"r": 179,
"g": 102,
"b": 247
},
"hsl": {
"h": 271.862,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.66089,
"c": 0.21242,
"h": 305.9
},
"luminance": 0.25802
}Semantic roles & 50–950 ramp
primary
#B366F7
secondary
#DBF2C7
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85