#B98FDA#B98FDA
#B98FDA is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.7% C 0.115 H 309.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B98FDA |
|---|---|
| RGB | rgb(185, 143, 218) |
| HSL | hsl(274, 50%, 71%) |
| HSV | hsv(274, 34%, 85%) |
| CMYK | cmyk(15.1%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(65.77, 29.85, -32.33) |
| CIE-LCH | lch(65.77, 44.00, 312.72°) |
| OKLab | oklab(71.67% 0.073 -0.089) |
| OKLCH | oklch(71.67% 0.115 309.4) |
| XYZ | xyz(42.4826, 35.0216, 70.8379) |
| Luminance | 0.3502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 1.38
Lavender (survey)
#C79FEF
ΔE00 4.80
Lavender
#B39DDB
ΔE00 4.95
Baby Purple
#CA9BF7
ΔE00 5.26
Wisteria
#A87DC2
ΔE00 6.02
Liliac
#C48EFD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B98FDA #B0DA8F
analogous
#938FDA #B98FDA #DA8FD5
triadic
#B98FDA #DAB98F #8FDAB9
tetradic
#B98FDA #DA938F #B0DA8F #8FD5DA
square
#B98FDA #DA938F #B0DA8F #8FD5DA
split-complementary
#B98FDA #D5DA8F #8FDA93
monochromatic
#7F3BB3 #9C61CB #B98FDA #D6BDE9 #F1E8F7
Accessibility & contrast
On white
2.62
#B98FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#B98FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B98FDA
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B98FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B98FDA | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#819EDD
Deuteranopia (green-blind)
#8AA0D8
Tritanopia (blue-blind)
#B59AAB
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b98fda; /* rgb */ color: rgb(185, 143, 218); /* oklch */ color: oklch(71.7% 0.115 309.4);
Tailwind
colors: {
custom: {
50: '#cfb0e5',
500: '#b98fda',
950: '#000000',
},
}SCSS
$custom: #b98fda; $custom-light: #cfb0e5; $custom-dark: #000000;
JSON
{
"hex": "#b98fda",
"rgb": {
"r": 185,
"g": 143,
"b": 218
},
"hsl": {
"h": 273.6,
"s": 50.336,
"l": 70.784
},
"oklch": {
"l": 0.71673,
"c": 0.11515,
"h": 309.4
},
"luminance": 0.35021
}Semantic roles & 50–950 ramp
primary
#B98FDA
secondary
#E1ECD8
accent
#BE286A
background
#FCFAFE
surface
#F9F5FC
border
#D2CFD5
text
#141016
muted
#827F84