#B282EA#B282EA
#B282EA is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.154 H 304.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B282EA |
|---|---|
| RGB | rgb(178, 130, 234) |
| HSL | hsl(268, 71%, 71%) |
| HSV | hsv(268, 44%, 92%) |
| CMYK | cmyk(23.9%, 44.4%, 0%, 8.2%) |
| CIE-LAB | lab(62.82, 38.64, -45.85) |
| CIE-LCH | lch(62.82, 59.96, 310.12°) |
| OKLab | oklab(69.52% 0.0863 -0.1281) |
| OKLCH | oklch(69.52% 0.154 304) |
| XYZ | xyz(41.1908, 31.3709, 81.7111) |
| Luminance | 0.3137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.90
Liliac
#C48EFD
ΔE00 4.45
Light Urple
#B36FF6
ΔE00 5.19
Easter Purple
#C071FE
ΔE00 5.37
Pale Purple
#B790D4
ΔE00 6.89
Wisteria
#A87DC2
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B282EA #BAEA82
analogous
#8286EA #B282EA #E682EA
triadic
#B282EA #EAB282 #82EAB2
tetradic
#B282EA #EA8286 #BAEA82 #82EAE6
square
#B282EA #EA8286 #BAEA82 #82EAE6
split-complementary
#B282EA #EAE682 #86EA82
monochromatic
#7223CF #924EE1 #B282EA #D2B6F3 #EFE5FB
Accessibility & contrast
On white
2.89
#B282EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#B282EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B282EA
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B282EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B282EA | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#A994AB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b282ea; /* rgb */ color: rgb(178, 130, 234); /* oklch */ color: oklch(69.5% 0.154 304.0);
Tailwind
colors: {
custom: {
50: '#cba7f1',
500: '#b282ea',
950: '#000000',
},
}SCSS
$custom: #b282ea; $custom-light: #cba7f1; $custom-dark: #000000;
JSON
{
"hex": "#b282ea",
"rgb": {
"r": 178,
"g": 130,
"b": 234
},
"hsl": {
"h": 267.692,
"s": 71.233,
"l": 71.373
},
"oklch": {
"l": 0.6952,
"c": 0.15446,
"h": 304
},
"luminance": 0.31371
}Semantic roles & 50–950 ramp
primary
#B282EA
secondary
#E5F1D6
accent
#D3127A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85