#B271F6#B271F6
#B271F6 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.195 H 304.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B271F6 |
|---|---|
| RGB | rgb(178, 113, 246) |
| HSL | hsl(269, 88%, 70%) |
| HSV | hsv(269, 54%, 96%) |
| CMYK | cmyk(27.6%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(59.82, 50.64, -57.25) |
| CIE-LCH | lch(59.82, 76.43, 311.50°) |
| OKLab | oklab(67.5% 0.1098 -0.1613) |
| OKLCH | oklch(67.5% 0.195 304.2) |
| XYZ | xyz(40.8961, 27.9292, 90.4073) |
| Luminance | 0.2793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.49
Easter Purple
#C071FE
ΔE00 2.47
Light Purple
#BF77F6
ΔE00 2.90
Bright Lavender
#C760FF
ΔE00 4.51
Bright Lilac
#C95EFB
ΔE00 5.00
Lighter Purple
#A55AF4
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B271F6 #B5F671
analogous
#7173F6 #B271F6 #F471F6
triadic
#B271F6 #F6B271 #71F6B2
tetradic
#B271F6 #F67173 #B5F671 #71F6F4
square
#B271F6 #F67173 #B5F671 #71F6F4
split-complementary
#B271F6 #F6F471 #73F671
monochromatic
#740EDE #9337F2 #B271F6 #D1ABFA #EFE2FD
Accessibility & contrast
On white
3.19
#B271F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#B271F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B271F6
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B271F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B271F6 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418EFA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#A68AA9
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b271f6; /* rgb */ color: rgb(178, 113, 246); /* oklch */ color: oklch(67.5% 0.195 304.2);
Tailwind
colors: {
custom: {
50: '#cc9cfa',
500: '#b271f6',
950: '#000000',
},
}SCSS
$custom: #b271f6; $custom-light: #cc9cfa; $custom-dark: #000000;
JSON
{
"hex": "#b271f6",
"rgb": {
"r": 178,
"g": 113,
"b": 246
},
"hsl": {
"h": 269.323,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.67495,
"c": 0.19512,
"h": 304.2
},
"luminance": 0.27929
}Semantic roles & 50–950 ramp
primary
#B271F6
secondary
#E2F4CF
accent
#E50175
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85