#B366C5#B366C5
#B366C5 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.3% C 0.159 H 319.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B366C5 |
|---|---|
| RGB | rgb(179, 102, 197) |
| HSL | hsl(289, 45%, 59%) |
| HSV | hsv(289, 48%, 77%) |
| CMYK | cmyk(9.1%, 48.2%, 0%, 22.7%) |
| CIE-LAB | lab(55.19, 46.03, -37.03) |
| CIE-LCH | lch(55.19, 59.07, 321.19°) |
| OKLab | oklab(63.28% 0.1212 -0.1024) |
| OKLCH | oklch(63.28% 0.159 319.8) |
| XYZ | xyz(33.4186, 23.1189, 55.5145) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.39
Soft Purple
#A66FB5
ΔE00 4.46
Amethyst
#9B5FC0
ΔE00 5.54
Pinky Purple
#C94CBE
ΔE00 6.18
Deep Lilac
#966EBD
ΔE00 6.38
Orchid (survey)
#C875C4
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366C5 #78C566
analogous
#8366C5 #B366C5 #C566A7
triadic
#B366C5 #C5B366 #66C5B3
tetradic
#B366C5 #C58366 #78C566 #66A7C5
square
#B366C5 #C58366 #78C566 #66A7C5
split-complementary
#B366C5 #A7C566 #66C583
monochromatic
#713180 #9841AC #B366C5 #C992D6 #DFBFE7
Accessibility & contrast
On white
3.73
#B366C5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#B366C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366C5
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366C5 | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#6D87C2
Tritanopia (blue-blind)
#B4738C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b366c5; /* rgb */ color: rgb(179, 102, 197); /* oklch */ color: oklch(63.3% 0.159 319.8);
Tailwind
colors: {
custom: {
50: '#cc94d7',
500: '#b366c5',
950: '#000000',
},
}SCSS
$custom: #b366c5; $custom-light: #cc94d7; $custom-dark: #000000;
JSON
{
"hex": "#b366c5",
"rgb": {
"r": 179,
"g": 102,
"b": 197
},
"hsl": {
"h": 288.632,
"s": 45.024,
"l": 58.627
},
"oklch": {
"l": 0.63278,
"c": 0.15865,
"h": 319.8
},
"luminance": 0.23118
}Semantic roles & 50–950 ramp
primary
#B366C5
secondary
#B8D6B1
accent
#D5536C
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D14
muted
#827E83