#B280E2#B280E2
#B280E2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.8% C 0.148 H 306.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B280E2 |
|---|---|
| RGB | rgb(178, 128, 226) |
| HSL | hsl(271, 63%, 69%) |
| HSV | hsv(271, 43%, 89%) |
| CMYK | cmyk(21.2%, 43.4%, 0%, 11.4%) |
| CIE-LAB | lab(61.99, 37.90, -42.71) |
| CIE-LCH | lch(61.99, 57.10, 311.59°) |
| OKLab | oklab(68.78% 0.0878 -0.119) |
| OKLCH | oklch(68.78% 0.148 306.4) |
| XYZ | xyz(39.8040, 30.3946, 75.7066) |
| Luminance | 0.3039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.24
Liliac
#C48EFD
ΔE00 5.36
Light Urple
#B36FF6
ΔE00 5.50
Easter Purple
#C071FE
ΔE00 5.80
Wisteria
#A87DC2
ΔE00 5.87
Pale Purple
#B790D4
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B280E2 #B0E280
analogous
#8180E2 #B280E2 #E280E1
triadic
#B280E2 #E2B280 #80E2B2
tetradic
#B280E2 #E28180 #B0E280 #80E1E2
square
#B280E2 #E28180 #B0E280 #80E1E2
split-complementary
#B280E2 #E1E280 #80E281
monochromatic
#752BBD #944ED7 #B280E2 #D0B2ED #EEE4F9
Accessibility & contrast
On white
2.97
#B280E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#B280E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B280E2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B280E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B280E2 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#7496DF
Tritanopia (blue-blind)
#AB90A6
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b280e2; /* rgb */ color: rgb(178, 128, 226); /* oklch */ color: oklch(68.8% 0.148 306.4);
Tailwind
colors: {
custom: {
50: '#cba6eb',
500: '#b280e2',
950: '#000000',
},
}SCSS
$custom: #b280e2; $custom-light: #cba6eb; $custom-dark: #000000;
JSON
{
"hex": "#b280e2",
"rgb": {
"r": 178,
"g": 128,
"b": 226
},
"hsl": {
"h": 270.612,
"s": 62.821,
"l": 69.412
},
"oklch": {
"l": 0.68776,
"c": 0.14788,
"h": 306.4
},
"luminance": 0.30394
}Semantic roles & 50–950 ramp
primary
#B280E2
secondary
#DFEDD1
accent
#CB1B71
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84