#B366CD#B366CD
#B366CD is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.7% C 0.167 H 317.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B366CD |
|---|---|
| RGB | rgb(179, 102, 205) |
| HSL | hsl(285, 51%, 60%) |
| HSV | hsv(285, 50%, 80%) |
| CMYK | cmyk(12.7%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(55.58, 47.65, -40.98) |
| CIE-LCH | lch(55.58, 62.85, 319.30°) |
| OKLab | oklab(63.69% 0.1223 -0.1138) |
| OKLCH | oklch(63.69% 0.167 317) |
| XYZ | xyz(34.3596, 23.4954, 60.4709) |
| Luminance | 0.2349 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.77
Amethyst
#9B5FC0
ΔE00 5.41
Soft Purple
#A66FB5
ΔE00 5.51
Deep Lilac
#966EBD
ΔE00 6.39
Pinky Purple
#C94CBE
ΔE00 6.82
Pinkish Purple
#D648D7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366CD #80CD66
analogous
#7F66CD #B366CD #CD66B4
triadic
#B366CD #CDB366 #66CDB3
tetradic
#B366CD #CD7F66 #80CD66 #66B4CD
square
#B366CD #CD7F66 #80CD66 #66B4CD
split-complementary
#B366CD #B4CD66 #66CD7F
monochromatic
#732D8B #9A3DB9 #B366CD #CA94DC #E1C2EB
Accessibility & contrast
On white
3.68
#B366CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#B366CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366CD
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366CD | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#B27590
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b366cd; /* rgb */ color: rgb(179, 102, 205); /* oklch */ color: oklch(63.7% 0.167 317.0);
Tailwind
colors: {
custom: {
50: '#cc94dc',
500: '#b366cd',
950: '#000000',
},
}SCSS
$custom: #b366cd; $custom-light: #cc94dc; $custom-dark: #000000;
JSON
{
"hex": "#b366cd",
"rgb": {
"r": 179,
"g": 102,
"b": 205
},
"hsl": {
"h": 284.854,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.63688,
"c": 0.16705,
"h": 317
},
"luminance": 0.23494
}Semantic roles & 50–950 ramp
primary
#B366CD
secondary
#BEDBB4
accent
#BE274D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83