#B366C9#B366C9
#B366C9 is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.5% C 0.163 H 318.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B366C9 |
|---|---|
| RGB | rgb(179, 102, 201) |
| HSL | hsl(287, 48%, 59%) |
| HSV | hsv(287, 49%, 79%) |
| CMYK | cmyk(10.9%, 49.3%, 0%, 21.2%) |
| CIE-LAB | lab(55.38, 46.84, -39.01) |
| CIE-LCH | lch(55.38, 60.95, 320.21°) |
| OKLab | oklab(63.48% 0.1217 -0.1081) |
| OKLCH | oklch(63.48% 0.163 318.4) |
| XYZ | xyz(33.8830, 23.3047, 57.9604) |
| Luminance | 0.2330 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.01
Soft Purple
#A66FB5
ΔE00 4.96
Amethyst
#9B5FC0
ΔE00 5.42
Deep Lilac
#966EBD
ΔE00 6.34
Pinky Purple
#C94CBE
ΔE00 6.47
Orchid (survey)
#C875C4
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366C9 #7CC966
analogous
#8266C9 #B366C9 #C966AD
triadic
#B366C9 #C9B366 #66C9B3
tetradic
#B366C9 #C98266 #7CC966 #66ADC9
square
#B366C9 #C98266 #7CC966 #66ADC9
split-complementary
#B366C9 #ADC966 #66C982
monochromatic
#722F85 #993FB3 #B366C9 #C993D9 #E0C0E9
Accessibility & contrast
On white
3.71
#B366C9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#B366C9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366C9
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366C9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366C9 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#547FCC
Deuteranopia (green-blind)
#6B87C6
Tritanopia (blue-blind)
#B3748E
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b366c9; /* rgb */ color: rgb(179, 102, 201); /* oklch */ color: oklch(63.5% 0.163 318.4);
Tailwind
colors: {
custom: {
50: '#cc94da',
500: '#b366c9',
950: '#000000',
},
}SCSS
$custom: #b366c9; $custom-light: #cc94da; $custom-dark: #000000;
JSON
{
"hex": "#b366c9",
"rgb": {
"r": 179,
"g": 102,
"b": 201
},
"hsl": {
"h": 286.667,
"s": 47.826,
"l": 59.412
},
"oklch": {
"l": 0.63481,
"c": 0.16283,
"h": 318.4
},
"luminance": 0.23303
}Semantic roles & 50–950 ramp
primary
#B366C9
secondary
#BBD9B2
accent
#D7506E
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D15
muted
#827E83