#B366F0#B366F0
#B366F0 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.7% C 0.205 H 307.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B366F0 |
|---|---|
| RGB | rgb(179, 102, 240) |
| HSL | hsl(273, 82%, 67%) |
| HSV | hsv(273, 58%, 94%) |
| CMYK | cmyk(25.4%, 57.5%, 0%, 5.9%) |
| CIE-LAB | lab(57.44, 55.20, -57.72) |
| CIE-LCH | lch(57.44, 79.86, 313.72°) |
| OKLab | oklab(65.66% 0.1245 -0.1626) |
| OKLCH | oklch(65.66% 0.205 307.4) |
| XYZ | xyz(39.0667, 25.3782, 85.2616) |
| Luminance | 0.2538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 3.52
Bright Lilac
#C95EFB
ΔE00 3.73
Easter Purple
#C071FE
ΔE00 3.86
Lighter Purple
#A55AF4
ΔE00 4.10
Light Purple
#BF77F6
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366F0 #A3F066
analogous
#6E66F0 #B366F0 #F066E8
triadic
#B366F0 #F0B366 #66F0B3
tetradic
#B366F0 #F06E66 #A3F066 #66E8F0
square
#B366F0 #F06E66 #A3F066 #66E8F0
split-complementary
#B366F0 #E8F066 #66F06E
monochromatic
#7814C8 #972EEB #B366F0 #CF9EF5 #EAD5FB
Accessibility & contrast
On white
3.46
#B366F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#B366F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366F0
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366F0 | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3087F4
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#AA80A1
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b366f0; /* rgb */ color: rgb(179, 102, 240); /* oklch */ color: oklch(65.7% 0.205 307.4);
Tailwind
colors: {
custom: {
50: '#cd95f6',
500: '#b366f0',
950: '#000000',
},
}SCSS
$custom: #b366f0; $custom-light: #cd95f6; $custom-dark: #000000;
JSON
{
"hex": "#b366f0",
"rgb": {
"r": 179,
"g": 102,
"b": 240
},
"hsl": {
"h": 273.478,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.65662,
"c": 0.20481,
"h": 307.4
},
"luminance": 0.25378
}Semantic roles & 50–950 ramp
primary
#B366F0
secondary
#D6EFC3
accent
#DF0766
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85