#B294E2#B294E2
#B294E2 is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.3% C 0.115 H 301.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B294E2 |
|---|---|
| RGB | rgb(178, 148, 226) |
| HSL | hsl(263, 57%, 73%) |
| HSV | hsv(263, 35%, 89%) |
| CMYK | cmyk(21.2%, 34.5%, 0%, 11.4%) |
| CIE-LAB | lab(66.62, 26.73, -35.47) |
| CIE-LCH | lch(66.62, 44.42, 307.00°) |
| OKLab | oklab(72.28% 0.0596 -0.0982) |
| OKLCH | oklch(72.28% 0.115 301.3) |
| XYZ | xyz(42.6745, 36.1357, 76.6634) |
| Luminance | 0.3614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.65
Pale Purple
#B790D4
ΔE00 3.71
Lavender (survey)
#C79FEF
ΔE00 4.42
Baby Purple
#CA9BF7
ΔE00 4.91
Pastel Purple
#CAA0FF
ΔE00 5.60
Liliac
#C48EFD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B294E2 #C4E294
analogous
#949DE2 #B294E2 #D994E2
triadic
#B294E2 #E2B294 #94E2B2
tetradic
#B294E2 #E2949D #C4E294 #94E2D9
square
#B294E2 #E2949D #C4E294 #94E2D9
split-complementary
#B294E2 #E2D994 #9DE294
monochromatic
#6D36C6 #8F64D5 #B294E2 #D5C4EF #EEE7F8
Accessibility & contrast
On white
2.55
#B294E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#B294E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B294E2
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B294E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B294E2 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82A2E5
Deuteranopia (green-blind)
#88A2E0
Tritanopia (blue-blind)
#AAA0B1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b294e2; /* rgb */ color: rgb(178, 148, 226); /* oklch */ color: oklch(72.3% 0.115 301.3);
Tailwind
colors: {
custom: {
50: '#cab3eb',
500: '#b294e2',
950: '#000000',
},
}SCSS
$custom: #b294e2; $custom-light: #cab3eb; $custom-dark: #000000;
JSON
{
"hex": "#b294e2",
"rgb": {
"r": 178,
"g": 148,
"b": 226
},
"hsl": {
"h": 263.077,
"s": 57.353,
"l": 73.333
},
"oklch": {
"l": 0.72281,
"c": 0.11489,
"h": 301.3
},
"luminance": 0.36136
}Semantic roles & 50–950 ramp
primary
#B294E2
secondary
#E8F0DB
accent
#C52186
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084