#B271BF#B271BF
#B271BF is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.6% C 0.133 H 320.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B271BF |
|---|---|
| RGB | rgb(178, 113, 191) |
| HSL | hsl(290, 38%, 60%) |
| HSV | hsv(290, 41%, 75%) |
| CMYK | cmyk(6.8%, 40.8%, 0%, 25.1%) |
| CIE-LAB | lab(57.11, 38.64, -30.61) |
| CIE-LCH | lch(57.11, 49.30, 321.61°) |
| OKLab | oklab(64.6% 0.103 -0.0841) |
| OKLCH | oklch(64.6% 0.133 320.8) |
| XYZ | xyz(33.6681, 25.0380, 52.3394) |
| Luminance | 0.2504 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.72
Wisteria
#A87DC2
ΔE00 4.29
Orchid (survey)
#C875C4
ΔE00 4.54
Dark Lilac
#9C6DA5
ΔE00 6.09
Deep Lilac
#966EBD
ΔE00 6.37
Orchid
#DA70D6
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B271BF #7EBF71
analogous
#8B71BF #B271BF #BF71A5
triadic
#B271BF #BFB271 #71BFB2
tetradic
#B271BF #BF8B71 #7EBF71 #71A5BF
square
#B271BF #BF8B71 #7EBF71 #71A5BF
split-complementary
#B271BF #A5BF71 #71BF8B
monochromatic
#72387D #984BA7 #B271BF #C99BD2 #E0C5E5
Accessibility & contrast
On white
3.50
#B271BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#B271BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B271BF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B271BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B271BF | 1.00 | 3.50 | 6.01 | 6.01 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6784C2
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#B37A8F
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b271bf; /* rgb */ color: rgb(178, 113, 191); /* oklch */ color: oklch(64.6% 0.133 320.8);
Tailwind
colors: {
custom: {
50: '#ca9bd2',
500: '#b271bf',
950: '#000000',
},
}SCSS
$custom: #b271bf; $custom-light: #ca9bd2; $custom-dark: #000000;
JSON
{
"hex": "#b271bf",
"rgb": {
"r": 178,
"g": 113,
"b": 191
},
"hsl": {
"h": 290,
"s": 37.864,
"l": 59.608
},
"oklch": {
"l": 0.64595,
"c": 0.13293,
"h": 320.8
},
"luminance": 0.25037
}Semantic roles & 50–950 ramp
primary
#B271BF
secondary
#BCD5B7
accent
#CE5A6D
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130E14
muted
#827E82