#B271CF#B271CF
#B271CF is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.4% C 0.151 H 314.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B271CF |
|---|---|
| RGB | rgb(178, 113, 207) |
| HSL | hsl(281, 49%, 63%) |
| HSV | hsv(281, 45%, 81%) |
| CMYK | cmyk(14%, 45.4%, 0%, 18.8%) |
| CIE-LAB | lab(57.83, 41.94, -38.59) |
| CIE-LCH | lch(57.83, 56.99, 317.38°) |
| OKLab | oklab(65.37% 0.1059 -0.107) |
| OKLCH | oklch(65.37% 0.151 314.7) |
| XYZ | xyz(35.5259, 25.7811, 62.1242) |
| Luminance | 0.2578 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.89
Soft Purple
#A66FB5
ΔE00 4.98
Deep Lilac
#966EBD
ΔE00 5.97
Orchid (survey)
#C875C4
ΔE00 6.18
Light Purple
#BF77F6
ΔE00 6.33
Mediumorchid
#BA55D3
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B271CF #8ECF71
analogous
#8371CF #B271CF #CF71BD
triadic
#B271CF #CFB271 #71CFB2
tetradic
#B271CF #CF8371 #8ECF71 #71BDCF
square
#B271CF #CF8371 #8ECF71 #71BDCF
split-complementary
#B271CF #BDCF71 #71CF83
monochromatic
#763294 #9943C0 #B271CF #CB9FDE #E4CCEE
Accessibility & contrast
On white
3.41
#B271CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#B271CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B271CF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B271CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B271CF | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#708DCC
Tritanopia (blue-blind)
#B07F96
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b271cf; /* rgb */ color: rgb(178, 113, 207); /* oklch */ color: oklch(65.4% 0.151 314.7);
Tailwind
colors: {
custom: {
50: '#cb9bde',
500: '#b271cf',
950: '#000000',
},
}SCSS
$custom: #b271cf; $custom-light: #cb9bde; $custom-dark: #000000;
JSON
{
"hex": "#b271cf",
"rgb": {
"r": 178,
"g": 113,
"b": 207
},
"hsl": {
"h": 281.489,
"s": 49.474,
"l": 62.745
},
"oklch": {
"l": 0.65366,
"c": 0.15055,
"h": 314.7
},
"luminance": 0.2578
}Semantic roles & 50–950 ramp
primary
#B271CF
secondary
#C7DFBD
accent
#BD2956
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83