#B266CD#B266CD
#B266CD is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.6% C 0.167 H 316.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B266CD |
|---|---|
| RGB | rgb(178, 102, 205) |
| HSL | hsl(284, 51%, 60%) |
| HSV | hsv(284, 50%, 80%) |
| CMYK | cmyk(13.2%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(55.46, 47.38, -41.18) |
| CIE-LCH | lch(55.46, 62.77, 319.00°) |
| OKLab | oklab(63.57% 0.121 -0.1144) |
| OKLCH | oklch(63.57% 0.167 316.6) |
| XYZ | xyz(34.1293, 23.3766, 60.4601) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.78
Amethyst
#9B5FC0
ΔE00 5.24
Soft Purple
#A66FB5
ΔE00 5.49
Deep Lilac
#966EBD
ΔE00 6.23
Pinky Purple
#C94CBE
ΔE00 6.95
Light Urple
#B36FF6
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B266CD #81CD66
analogous
#7E66CD #B266CD #CD66B4
triadic
#B266CD #CDB266 #66CDB2
tetradic
#B266CD #CD7E66 #81CD66 #66B4CD
square
#B266CD #CD7E66 #81CD66 #66B4CD
split-complementary
#B266CD #B4CD66 #66CD7E
monochromatic
#732D8B #993DB9 #B266CD #C994DC #E0C2EB
Accessibility & contrast
On white
3.70
#B266CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#B266CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B266CD
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B266CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B266CD | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#6887CA
Tritanopia (blue-blind)
#B17590
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b266cd; /* rgb */ color: rgb(178, 102, 205); /* oklch */ color: oklch(63.6% 0.167 316.6);
Tailwind
colors: {
custom: {
50: '#cb94dc',
500: '#b266cd',
950: '#000000',
},
}SCSS
$custom: #b266cd; $custom-light: #cb94dc; $custom-dark: #000000;
JSON
{
"hex": "#b266cd",
"rgb": {
"r": 178,
"g": 102,
"b": 205
},
"hsl": {
"h": 284.272,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.63572,
"c": 0.16657,
"h": 316.6
},
"luminance": 0.23375
}Semantic roles & 50–950 ramp
primary
#B266CD
secondary
#BEDBB4
accent
#BE274F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83