#B296CF#B296CF
#B296CF is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.8% C 0.087 H 306.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B296CF |
|---|---|
| RGB | rgb(178, 150, 207) |
| HSL | hsl(269, 37%, 70%) |
| HSV | hsv(269, 28%, 81%) |
| CMYK | cmyk(14%, 27.5%, 0%, 18.8%) |
| CIE-LAB | lab(66.35, 21.36, -25.36) |
| CIE-LCH | lch(66.35, 33.16, 310.10°) |
| OKLab | oklab(71.83% 0.0518 -0.0694) |
| OKLCH | oklch(71.83% 0.087 306.7) |
| XYZ | xyz(40.5268, 35.7829, 63.7912) |
| Luminance | 0.3578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.90
Lavender
#B39DDB
ΔE00 2.91
Lavender (survey)
#C79FEF
ΔE00 6.12
Wisteria
#A87DC2
ΔE00 7.35
Lilac
#C8A2C8
ΔE00 7.53
Baby Purple
#CA9BF7
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B296CF #B3CF96
analogous
#9696CF #B296CF #CF96CF
triadic
#B296CF #CFB296 #96CFB2
tetradic
#B296CF #CF9696 #B3CF96 #96CFCF
square
#B296CF #CF9696 #B3CF96 #96CFCF
split-complementary
#B296CF #CFCF96 #96CF96
monochromatic
#754AA1 #936CBC #B296CF #D1C0E2 #F0EAF5
Accessibility & contrast
On white
2.57
#B296CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#B296CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B296CF
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B296CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B296CF | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CA0D1
Deuteranopia (green-blind)
#91A2CD
Tritanopia (blue-blind)
#AE9EAA
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b296cf; /* rgb */ color: rgb(178, 150, 207); /* oklch */ color: oklch(71.8% 0.087 306.7);
Tailwind
colors: {
custom: {
50: '#c9b5dd',
500: '#b296cf',
950: '#000000',
},
}SCSS
$custom: #b296cf; $custom-light: #c9b5dd; $custom-dark: #000000;
JSON
{
"hex": "#b296cf",
"rgb": {
"r": 178,
"g": 150,
"b": 207
},
"hsl": {
"h": 269.474,
"s": 37.255,
"l": 70
},
"oklch": {
"l": 0.71826,
"c": 0.0866,
"h": 306.7
},
"luminance": 0.35783
}Semantic roles & 50–950 ramp
primary
#B296CF
secondary
#E1E8D8
accent
#B03574
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083