#B261CD#B261CD
#B261CD is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.8% C 0.175 H 317.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B261CD |
|---|---|
| RGB | rgb(178, 97, 205) |
| HSL | hsl(285, 52%, 59%) |
| HSV | hsv(285, 53%, 80%) |
| CMYK | cmyk(13.2%, 52.7%, 0%, 19.6%) |
| CIE-LAB | lab(54.47, 49.96, -42.74) |
| CIE-LCH | lch(54.47, 65.74, 319.46°) |
| OKLab | oklab(62.85% 0.1279 -0.1189) |
| OKLCH | oklch(62.85% 0.175 317.1) |
| XYZ | xyz(33.6526, 22.4233, 60.3012) |
| Luminance | 0.2242 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.70
Amethyst
#9B5FC0
ΔE00 4.76
Soft Purple
#A66FB5
ΔE00 6.20
Pinky Purple
#C94CBE
ΔE00 6.32
Pinkish Purple
#D648D7
ΔE00 6.47
Lightish Purple
#A552E6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B261CD #7CCD61
analogous
#7C61CD #B261CD #CD61B2
triadic
#B261CD #CDB261 #61CDB2
tetradic
#B261CD #CD7C61 #7CCD61 #61B2CD
square
#B261CD #CD7C61 #7CCD61 #61B2CD
split-complementary
#B261CD #B2CD61 #61CD7C
monochromatic
#712B88 #983AB7 #B261CD #C98FDC #DFBEEA
Accessibility & contrast
On white
3.83
#B261CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#B261CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B261CD
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B261CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B261CD | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#B1718E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b261cd; /* rgb */ color: rgb(178, 97, 205); /* oklch */ color: oklch(62.8% 0.175 317.1);
Tailwind
colors: {
custom: {
50: '#cb91dd',
500: '#b261cd',
950: '#000000',
},
}SCSS
$custom: #b261cd; $custom-light: #cb91dd; $custom-dark: #000000;
JSON
{
"hex": "#b261cd",
"rgb": {
"r": 178,
"g": 97,
"b": 205
},
"hsl": {
"h": 285,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.62845,
"c": 0.17462,
"h": 317.1
},
"luminance": 0.22422
}Semantic roles & 50–950 ramp
primary
#B261CD
secondary
#BADAB0
accent
#DB4C70
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83