#B27FDA#B27FDA
#B27FDA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.140 H 308.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B27FDA |
|---|---|
| RGB | rgb(178, 127, 218) |
| HSL | hsl(274, 55%, 68%) |
| HSV | hsv(274, 42%, 85%) |
| CMYK | cmyk(18.3%, 41.7%, 0%, 14.5%) |
| CIE-LAB | lab(61.40, 36.66, -39.18) |
| CIE-LCH | lch(61.40, 53.65, 313.10°) |
| OKLab | oklab(68.21% 0.0878 -0.1088) |
| OKLCH | oklch(68.21% 0.14 308.9) |
| XYZ | xyz(38.6020, 29.7062, 70.0164) |
| Luminance | 0.2971 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.52
Light Purple
#BF77F6
ΔE00 5.17
Pale Purple
#B790D4
ΔE00 5.58
Liliac
#C48EFD
ΔE00 6.37
Light Urple
#B36FF6
ΔE00 6.40
Easter Purple
#C071FE
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27FDA #A7DA7F
analogous
#847FDA #B27FDA #DA7FD5
triadic
#B27FDA #DAB27F #7FDAB2
tetradic
#B27FDA #DA847F #A7DA7F #7FD5DA
square
#B27FDA #DA847F #A7DA7F #7FD5DA
split-complementary
#B27FDA #D5DA7F #7FDA84
monochromatic
#7732AD #9550CC #B27FDA #CFAEE8 #EBDEF5
Accessibility & contrast
On white
3.03
#B27FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#B27FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B27FDA
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27FDA | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B92DD
Deuteranopia (green-blind)
#7895D8
Tritanopia (blue-blind)
#AD8DA2
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b27fda; /* rgb */ color: rgb(178, 127, 218); /* oklch */ color: oklch(68.2% 0.140 308.9);
Tailwind
colors: {
custom: {
50: '#caa5e6',
500: '#b27fda',
950: '#000000',
},
}SCSS
$custom: #b27fda; $custom-light: #caa5e6; $custom-dark: #000000;
JSON
{
"hex": "#b27fda",
"rgb": {
"r": 178,
"g": 127,
"b": 218
},
"hsl": {
"h": 273.626,
"s": 55.152,
"l": 67.647
},
"oklch": {
"l": 0.68209,
"c": 0.13981,
"h": 308.9
},
"luminance": 0.29706
}Semantic roles & 50–950 ramp
primary
#B27FDA
secondary
#D9E9CC
accent
#C32369
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84