#B98AFF
Closest named color: Liliac (#C48EFD). oklch(72.6% 0.169 300.8), rgb(185, 138, 255).
Aa
Black text reads best on this color (8.14:1).
About this color
#B98AFF is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.169 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.14:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.169) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.14:1 |
| White text | 2.57:1 |
Values
| HEX | #B98AFF |
| RGB | rgb(185, 138, 255) |
| HSL | hsl(264, 100%, 77%) |
| OKLCH | oklch(72.6% 0.169 300.8) |
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 #B98AFF | 2.57:1 | Fails | Lc -55.4 | Large or bold text, headings |
| Black text on #B98AFF | 8.14:1 | AAA | Lc 53.8 | Large or bold text, headings |
| #B98AFF text on white | 2.57:1 | Fails | Lc 50.2 | Large or bold text, headings |
| #B98AFF text on black | 8.14:1 | AAA | Lc -51.7 | 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
#EDE6FC
oklch(93.7% 0.03 300.3)
-
Step 200
200
#DFD1FB
oklch(88.5% 0.059 300.4)
-
Step 300
300
#CCB1FB
oklch(81% 0.106 300.8)
-
Step 400
400 (this color)
#B98AFF
oklch(72.6% 0.169 300.8)
-
Step 500
500
#A15FF5
oklch(63.1% 0.216 300.6)
-
Step 600
600
#8E3DE4
oklch(55.6% 0.236 300.9)
-
Step 700
700
#792DC6
oklch(49.2% 0.219 300.9)
-
Step 800
800
#6228A0
oklch(42.7% 0.181 300.9)
-
Step 900
900
#50277F
oklch(37.7% 0.142 301.2)
-
Step 950
950
#2E184A
oklch(26.8% 0.09 300.8)
#B98AFF 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) | #67A1FF | 0.115 |
| Deuteranopia (no green cones) | #72A1FC | 0.106 |
| Tritanopia (no blue cones) | #AC9FB8 | 0.131 |
| Achromatopsia (no color) | #A1A1A1 | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B98AFF
#B98AFF
oklch(72.6% 0.169 300.8)
- #98B515
#98B515
oklch(72.6% 0.169 120.7)
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 #B98AFF, 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.043
- Baby Purple #CA9BF7 ΔE 0.055
- Easter Purple #C071FE ΔE 0.055
- Light Urple #B36FF6 ΔE 0.062
- Pastel Purple #CAA0FF ΔE 0.062
- Periwinkle Blue #8F99FB ΔE 0.068
- Pale Purple #B790D4 ΔE 0.069
Use #B98AFF 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.