#B27EF3#B27EF3
#B27EF3 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.172 H 302.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B27EF3 |
|---|---|
| RGB | rgb(178, 126, 243) |
| HSL | hsl(267, 83%, 72%) |
| HSV | hsv(267, 48%, 95%) |
| CMYK | cmyk(26.7%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(62.39, 42.95, -51.51) |
| CIE-LCH | lch(62.39, 67.07, 309.82°) |
| OKLab | oklab(69.34% 0.0928 -0.1446) |
| OKLCH | oklch(69.34% 0.172 302.7) |
| XYZ | xyz(41.9950, 30.8578, 88.5204) |
| Luminance | 0.3086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.94
Light Urple
#B36FF6
ΔE00 3.69
Easter Purple
#C071FE
ΔE00 3.97
Liliac
#C48EFD
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 7.09
Mediumpurple
#9370DB
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27EF3 #BFF37E
analogous
#7E84F3 #B27EF3 #ED7EF3
triadic
#B27EF3 #F3B27E #7EF3B2
tetradic
#B27EF3 #F37E84 #BFF37E #7EF3ED
square
#B27EF3 #F37E84 #BFF37E #7EF3ED
split-complementary
#B27EF3 #F3ED7E #84F37E
monochromatic
#7015E2 #9146EE #B27EF3 #D3B6F8 #EEE3FC
Accessibility & contrast
On white
2.93
#B27EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B27EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27EF3
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27EF3 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B96F7
Deuteranopia (green-blind)
#6897F0
Tritanopia (blue-blind)
#A693AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b27ef3; /* rgb */ color: rgb(178, 126, 243); /* oklch */ color: oklch(69.3% 0.172 302.7);
Tailwind
colors: {
custom: {
50: '#cca4f7',
500: '#b27ef3',
950: '#000000',
},
}SCSS
$custom: #b27ef3; $custom-light: #cca4f7; $custom-dark: #000000;
JSON
{
"hex": "#b27ef3",
"rgb": {
"r": 178,
"g": 126,
"b": 243
},
"hsl": {
"h": 266.667,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.69343,
"c": 0.1718,
"h": 302.7
},
"luminance": 0.30858
}Semantic roles & 50–950 ramp
primary
#B27EF3
secondary
#E7F4D7
accent
#DF067F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85