#BB87FD
Closest named color: Liliac (#C48EFD). oklch(72.2% 0.172 302.7), rgb(187, 135, 253).
Aa
Black text reads best on this color (7.99:1).
About this color
#BB87FD is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.172 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.023 away. Black text reads best on it, at 7.99:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.172) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 7.99:1 |
| White text | 2.62:1 |
Values
| HEX | #BB87FD |
| RGB | rgb(187, 135, 253) |
| HSL | hsl(266, 97%, 76%) |
| OKLCH | oklch(72.2% 0.172 302.7) |
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 #BB87FD | 2.62:1 | Fails | Lc -56.1 | Large or bold text, headings |
| Black text on #BB87FD | 7.99:1 | AAA | Lc 53.0 | Large or bold text, headings |
| #BB87FD text on white | 2.62:1 | Fails | Lc 51.0 | Large or bold text, headings |
| #BB87FD text on black | 7.99:1 | AAA | Lc -50.9 | 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
#EEE5FC
oklch(93.6% 0.032 303.5)
-
Step 200
200
#E1D0FA
oklch(88.5% 0.06 303.6)
-
Step 300
300
#CEB0FA
oklch(80.9% 0.107 302.7)
-
Step 400
400 (this color)
#BB87FD
oklch(72.2% 0.172 302.7)
-
Step 500
500
#A55CF4
oklch(63% 0.22 302.6)
-
Step 600
600
#913AE3
oklch(55.6% 0.239 302.5)
-
Step 700
700
#7C29C5
oklch(49.1% 0.222 302.8)
-
Step 800
800
#65259F
oklch(42.7% 0.184 303)
-
Step 900
900
#52267F
oklch(37.8% 0.144 302.7)
-
Step 950
950
#30184A
oklch(27.1% 0.09 303)
#BB87FD 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) | #659FFF | 0.121 |
| Deuteranopia (no green cones) | #729FFA | 0.110 |
| Tritanopia (no blue cones) | #AF9CB6 | 0.131 |
| Achromatopsia (no color) | #A0A0A0 | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BB87FD
#BB87FD
oklch(72.2% 0.172 302.7)
- #92B514
#92B514
oklch(72.1% 0.172 122.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 #BB87FD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.023
- Light Purple #BF77F6 ΔE 0.035
- Easter Purple #C071FE ΔE 0.048
- Light Urple #B36FF6 ΔE 0.056
- Baby Purple #CA9BF7 ΔE 0.058
- Pastel Purple #CAA0FF ΔE 0.066
- Pale Purple #B790D4 ΔE 0.069
- Periwinkle #8E82FE ΔE 0.072
Use #BB87FD 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.