#B97FDF#B97FDF
#B97FDF is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.148 H 310.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B97FDF |
|---|---|
| RGB | rgb(185, 127, 223) |
| HSL | hsl(276, 60%, 69%) |
| HSV | hsv(276, 43%, 87%) |
| CMYK | cmyk(17%, 43%, 0%, 12.5%) |
| CIE-LAB | lab(62.36, 39.78, -40.42) |
| CIE-LCH | lch(62.36, 56.71, 314.55°) |
| OKLab | oklab(69.17% 0.097 -0.1122) |
| OKLCH | oklch(69.17% 0.148 310.9) |
| XYZ | xyz(40.9139, 30.8214, 73.5915) |
| Luminance | 0.3082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.32
Wisteria
#A87DC2
ΔE00 5.55
Liliac
#C48EFD
ΔE00 5.62
Pale Purple
#B790D4
ΔE00 5.86
Easter Purple
#C071FE
ΔE00 5.98
Light Urple
#B36FF6
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97FDF #A5DF7F
analogous
#897FDF #B97FDF #DF7FD5
triadic
#B97FDF #DFB97F #7FDFB9
tetradic
#B97FDF #DF897F #A5DF7F #7FD5DF
square
#B97FDF #DF897F #A5DF7F #7FD5DF
split-complementary
#B97FDF #D5DF7F #7FDF89
monochromatic
#802EB6 #9E4ED3 #B97FDF #D4B0EB #EFE1F7
Accessibility & contrast
On white
2.93
#B97FDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#B97FDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97FDF
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97FDF | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#7998DC
Tritanopia (blue-blind)
#B58EA4
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b97fdf; /* rgb */ color: rgb(185, 127, 223); /* oklch */ color: oklch(69.2% 0.148 310.9);
Tailwind
colors: {
custom: {
50: '#cfa5e9',
500: '#b97fdf',
950: '#000000',
},
}SCSS
$custom: #b97fdf; $custom-light: #cfa5e9; $custom-dark: #000000;
JSON
{
"hex": "#b97fdf",
"rgb": {
"r": 185,
"g": 127,
"b": 223
},
"hsl": {
"h": 276.25,
"s": 60,
"l": 68.627
},
"oklch": {
"l": 0.69168,
"c": 0.14834,
"h": 310.9
},
"luminance": 0.30821
}Semantic roles & 50–950 ramp
primary
#B97FDF
secondary
#DAEBCF
accent
#C81E61
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84