#B182EF#B182EF
#B182EF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.160 H 302.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B182EF |
|---|---|
| RGB | rgb(177, 130, 239) |
| HSL | hsl(266, 77%, 72%) |
| HSV | hsv(266, 46%, 94%) |
| CMYK | cmyk(25.9%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(62.96, 39.54, -48.40) |
| CIE-LCH | lch(62.96, 62.49, 309.25°) |
| OKLab | oklab(69.69% 0.0858 -0.1355) |
| OKLCH | oklch(69.69% 0.16 302.3) |
| XYZ | xyz(41.6906, 31.5444, 85.5369) |
| Luminance | 0.3154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.37
Light Urple
#B36FF6
ΔE00 4.88
Easter Purple
#C071FE
ΔE00 5.10
Mediumpurple
#9370DB
ΔE00 7.41
Baby Purple
#CA9BF7
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B182EF #C0EF82
analogous
#8289EF #B182EF #E882EF
triadic
#B182EF #EFB182 #82EFB1
tetradic
#B182EF #EF8289 #C0EF82 #82EFE8
square
#B182EF #EF8289 #C0EF82 #82EFE8
split-complementary
#B182EF #EFE882 #89EF82
monochromatic
#6E1CDB #8F4CE8 #B182EF #D3B8F6 #EEE4FC
Accessibility & contrast
On white
2.87
#B182EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#B182EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B182EF
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B182EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B182EF | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#A695AD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b182ef; /* rgb */ color: rgb(177, 130, 239); /* oklch */ color: oklch(69.7% 0.160 302.3);
Tailwind
colors: {
custom: {
50: '#caa7f5',
500: '#b182ef',
950: '#000000',
},
}SCSS
$custom: #b182ef; $custom-light: #caa7f5; $custom-dark: #000000;
JSON
{
"hex": "#b182ef",
"rgb": {
"r": 177,
"g": 130,
"b": 239
},
"hsl": {
"h": 265.872,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.69686,
"c": 0.1604,
"h": 302.3
},
"luminance": 0.31544
}Semantic roles & 50–950 ramp
primary
#B182EF
secondary
#E7F3D8
accent
#DA0C81
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85