#B27AFE#B27AFE
#B27AFE is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.191 H 301.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B27AFE |
|---|---|
| RGB | rgb(178, 122, 254) |
| HSL | hsl(265, 99%, 74%) |
| HSV | hsv(265, 52%, 100%) |
| CMYK | cmyk(29.9%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(62.12, 47.73, -58.00) |
| CIE-LCH | lch(62.12, 75.12, 309.45°) |
| OKLab | oklab(69.33% 0.0989 -0.1635) |
| OKLCH | oklch(69.33% 0.191 301.2) |
| XYZ | xyz(43.2049, 30.5396, 97.3653) |
| Luminance | 0.3054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.92
Light Purple
#BF77F6
ΔE00 3.14
Easter Purple
#C071FE
ΔE00 3.22
Liliac
#C48EFD
ΔE00 5.90
Bright Lavender
#C760FF
ΔE00 6.24
Bright Lilac
#C95EFB
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27AFE #C6FE7A
analogous
#7A84FE #B27AFE #F47AFE
triadic
#B27AFE #FEB27A #7AFEB2
tetradic
#B27AFE #FE7A84 #C6FE7A #7AFEF4
square
#B27AFE #FE7A84 #C6FE7A #7AFEF4
split-complementary
#B27AFE #FEF47A #84FE7A
monochromatic
#6C02FC #8F3DFE #B27AFE #D5B7FE #EDE1FF
Accessibility & contrast
On white
2.95
#B27AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#B27AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27AFE
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27AFE | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5B95FB
Tritanopia (blue-blind)
#A393B1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b27afe; /* rgb */ color: rgb(178, 122, 254); /* oklch */ color: oklch(69.3% 0.191 301.2);
Tailwind
colors: {
custom: {
50: '#cca2ff',
500: '#b27afe',
950: '#000000',
},
}SCSS
$custom: #b27afe; $custom-light: #cca2ff; $custom-dark: #000000;
JSON
{
"hex": "#b27afe",
"rgb": {
"r": 178,
"g": 122,
"b": 254
},
"hsl": {
"h": 265.455,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.6933,
"c": 0.1911,
"h": 301.2
},
"luminance": 0.3054
}Semantic roles & 50–950 ramp
primary
#B27AFE
secondary
#E8F7D4
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86