#B98AFC
Closest named color: Liliac (#C48EFD). oklch(72.5% 0.166 301.4), rgb(185, 138, 252).
Aa
Black text reads best on this color (8.10:1).
About this color
#B98AFC is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.166 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.021 away. Black text reads best on it, at 8.10:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.10:1 |
| White text | 2.59:1 |
Values
| HEX | #B98AFC |
| RGB | rgb(185, 138, 252) |
| HSL | hsl(265, 95%, 76%) |
| OKLCH | oklch(72.5% 0.166 301.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #B98AFC | 2.59:1 | Fails | Lc -55.6 | Large or bold text, headings |
| Black text on #B98AFC | 8.10:1 | AAA | Lc 53.6 | Large or bold text, headings |
| #B98AFC text on white | 2.59:1 | Fails | Lc 50.4 | Large or bold text, headings |
| #B98AFC text on black | 8.10:1 | AAA | Lc -51.5 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EDE6FB
oklch(93.7% 0.029 301)
-
Step 200
200
#DFD1FA
oklch(88.5% 0.058 300.8)
-
Step 300
300
#CCB1F9
oklch(80.9% 0.103 301.3)
-
Step 400
400 (this color)
#B98AFC
oklch(72.5% 0.166 301.4)
-
Step 500
500
#A260F2
oklch(63.1% 0.211 301.4)
-
Step 600
600
#8E3FE0
oklch(55.5% 0.23 301.6)
-
Step 700
700
#792FC3
oklch(49.1% 0.214 301.5)
-
Step 800
800
#62299E
oklch(42.7% 0.178 301.3)
-
Step 900
900
#50287D
oklch(37.7% 0.138 301.7)
-
Step 950
950
#2F1949
oklch(27.1% 0.087 302.1)
#B98AFC with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #69A0FF | 0.112 |
| Deuteranopia (no green cones) | #74A0F9 | 0.103 |
| Tritanopia (no blue cones) | #AD9EB7 | 0.127 |
| Achromatopsia (no color) | #A1A1A1 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B98AFC
#B98AFC
oklch(72.5% 0.166 301.4)
- #96B520
#96B520
oklch(72.5% 0.166 121.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B98AFC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.021
- Light Purple #BF77F6 ΔE 0.042
- Baby Purple #CA9BF7 ΔE 0.053
- Easter Purple #C071FE ΔE 0.056
- Pastel Purple #CAA0FF ΔE 0.061
- Light Urple #B36FF6 ΔE 0.062
- Pale Purple #B790D4 ΔE 0.065
- Periwinkle Blue #8F99FB ΔE 0.068
Use #B98AFC in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.