#B281E7#B281E7
#B281E7 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.152 H 304.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B281E7 |
|---|---|
| RGB | rgb(178, 129, 231) |
| HSL | hsl(269, 68%, 71%) |
| HSV | hsv(269, 44%, 91%) |
| CMYK | cmyk(22.9%, 44.2%, 0%, 9.4%) |
| CIE-LAB | lab(62.45, 38.50, -44.77) |
| CIE-LCH | lch(62.45, 59.04, 310.69°) |
| OKLab | oklab(69.2% 0.0872 -0.125) |
| OKLCH | oklch(69.2% 0.152 304.9) |
| XYZ | xyz(40.6312, 30.9352, 79.4164) |
| Luminance | 0.3094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.92
Liliac
#C48EFD
ΔE00 4.79
Light Urple
#B36FF6
ΔE00 5.20
Easter Purple
#C071FE
ΔE00 5.44
Pale Purple
#B790D4
ΔE00 6.67
Wisteria
#A87DC2
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B281E7 #B6E781
analogous
#8183E7 #B281E7 #E581E7
triadic
#B281E7 #E7B281 #81E7B2
tetradic
#B281E7 #E78183 #B6E781 #81E7E5
square
#B281E7 #E78183 #B6E781 #81E7E5
split-complementary
#B281E7 #E7E581 #83E781
monochromatic
#7426C8 #934EDD #B281E7 #D1B4F1 #EFE5FA
Accessibility & contrast
On white
2.92
#B281E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#B281E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B281E7
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B281E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B281E7 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6796EB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#A992A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b281e7; /* rgb */ color: rgb(178, 129, 231); /* oklch */ color: oklch(69.2% 0.152 304.9);
Tailwind
colors: {
custom: {
50: '#cba6ef',
500: '#b281e7',
950: '#000000',
},
}SCSS
$custom: #b281e7; $custom-light: #cba6ef; $custom-dark: #000000;
JSON
{
"hex": "#b281e7",
"rgb": {
"r": 178,
"g": 129,
"b": 231
},
"hsl": {
"h": 268.824,
"s": 68,
"l": 70.588
},
"oklch": {
"l": 0.69198,
"c": 0.15238,
"h": 304.9
},
"luminance": 0.30935
}Semantic roles & 50–950 ramp
primary
#B281E7
secondary
#E2F0D4
accent
#D01676
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84