#B27FC2#B27FC2
#B27FC2 is a light, moderate purple. Relative luminance 0.285; OKLCH L 67.1% C 0.111 H 317.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B27FC2 |
|---|---|
| RGB | rgb(178, 127, 194) |
| HSL | hsl(286, 35%, 63%) |
| HSV | hsv(286, 35%, 76%) |
| CMYK | cmyk(8.2%, 34.5%, 0%, 23.9%) |
| CIE-LAB | lab(60.37, 31.51, -27.27) |
| CIE-LCH | lch(60.37, 41.68, 319.13°) |
| OKLab | oklab(67.1% 0.0827 -0.0747) |
| OKLCH | oklch(67.1% 0.111 317.9) |
| XYZ | xyz(35.6857, 28.5396, 54.6573) |
| Luminance | 0.2854 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.41
Soft Purple
#A66FB5
ΔE00 5.10
Pale Purple
#B790D4
ΔE00 5.22
Orchid (survey)
#C875C4
ΔE00 5.24
Heather
#A484AC
ΔE00 6.52
Dark Lilac
#9C6DA5
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27FC2 #8FC27F
analogous
#907FC2 #B27FC2 #C27FB0
triadic
#B27FC2 #C2B27F #7FC2B2
tetradic
#B27FC2 #C2907F #8FC27F #7FB0C2
square
#B27FC2 #C2907F #8FC27F #7FB0C2
split-complementary
#B27FC2 #B0C27F #7FC290
monochromatic
#764087 #9956AE #B27FC2 #CBA8D6 #E4D2EA
Accessibility & contrast
On white
3.13
#B27FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#B27FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B27FC2
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27FC2 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#768EC5
Deuteranopia (green-blind)
#8293C0
Tritanopia (blue-blind)
#B28798
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b27fc2; /* rgb */ color: rgb(178, 127, 194); /* oklch */ color: oklch(67.1% 0.111 317.9);
Tailwind
colors: {
custom: {
50: '#caa5d4',
500: '#b27fc2',
950: '#000000',
},
}SCSS
$custom: #b27fc2; $custom-light: #caa5d4; $custom-dark: #000000;
JSON
{
"hex": "#b27fc2",
"rgb": {
"r": 178,
"g": 127,
"b": 194
},
"hsl": {
"h": 285.672,
"s": 35.45,
"l": 62.941
},
"oklch": {
"l": 0.67096,
"c": 0.11139,
"h": 317.9
},
"luminance": 0.28539
}Semantic roles & 50–950 ramp
primary
#B27FC2
secondary
#C8DAC2
accent
#AE3754
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83