#B297CD#B297CD
#B297CD is a light, moderate violet. Relative luminance 0.360; OKLCH L 71.9% C 0.082 H 307.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B297CD |
|---|---|
| RGB | rgb(178, 151, 205) |
| HSL | hsl(270, 35%, 70%) |
| HSV | hsv(270, 26%, 80%) |
| CMYK | cmyk(13.2%, 26.3%, 0%, 19.6%) |
| CIE-LAB | lab(66.52, 20.37, -23.99) |
| CIE-LCH | lch(66.52, 31.47, 310.33°) |
| OKLab | oklab(71.93% 0.0497 -0.0655) |
| OKLCH | oklch(71.93% 0.082 307.2) |
| XYZ | xyz(40.4441, 36.0062, 62.5650) |
| Luminance | 0.3601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.19
Pale Purple
#B790D4
ΔE00 3.51
Lavender (survey)
#C79FEF
ΔE00 6.56
Lilac
#C8A2C8
ΔE00 7.00
Heather
#A484AC
ΔE00 7.49
Wisteria
#A87DC2
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B297CD #B2CD97
analogous
#9797CD #B297CD #CD97CD
triadic
#B297CD #CDB297 #97CDB2
tetradic
#B297CD #CD9797 #B2CD97 #97CDCD
square
#B297CD #CD9797 #B2CD97 #97CDCD
split-complementary
#B297CD #CDCD97 #97CD97
monochromatic
#754C9E #936EB9 #B297CD #D1C0E1 #EFEAF5
Accessibility & contrast
On white
2.56
#B297CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#B297CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B297CD
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B297CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B297CD | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EA1CF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#AF9EAA
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b297cd; /* rgb */ color: rgb(178, 151, 205); /* oklch */ color: oklch(71.9% 0.082 307.2);
Tailwind
colors: {
custom: {
50: '#c9b5dc',
500: '#b297cd',
950: '#000000',
},
}SCSS
$custom: #b297cd; $custom-light: #c9b5dc; $custom-dark: #000000;
JSON
{
"hex": "#b297cd",
"rgb": {
"r": 178,
"g": 151,
"b": 205
},
"hsl": {
"h": 270,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.71933,
"c": 0.08227,
"h": 307.2
},
"luminance": 0.36006
}Semantic roles & 50–950 ramp
primary
#B297CD
secondary
#E0E8D8
accent
#AE3873
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083