#B8A7FC
Closest named color: Pastel Purple (#CAA0FF). oklch(77.5% 0.12 292.5), rgb(184, 167, 252).
Aa
Black text reads best on this color (9.97:1).
About this color
#B8A7FC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.120 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.031 away. Black text reads best on it, at 9.97:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.120) |
| Temperature | in between |
| Nearest name | Pastel Purple (#CAA0FF) |
| Black text | 9.97:1 |
| White text | 2.10:1 |
Values
| HEX | #B8A7FC |
| RGB | rgb(184, 167, 252) |
| HSL | hsl(252, 93%, 82%) |
| OKLCH | oklch(77.5% 0.12 292.5) |
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 #B8A7FC | 2.10:1 | Fails | Lc -45.8 | Large or bold text, headings |
| Black text on #B8A7FC | 9.97:1 | AAA | Lc 62.8 | Content text, not long reading |
| #B8A7FC text on white | 2.10:1 | Fails | Lc 41.2 | Non-text elements, placeholder text |
| #B8A7FC text on black | 9.97:1 | AAA | Lc -61.1 | Content text, not long reading |
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 300.
-
Step 50
50
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#EAE6FF
oklch(93.6% 0.034 293.1)
-
Step 200
200
#DAD2FF
oklch(88.5% 0.062 293.2)
-
Step 300
300 (this color)
#B8A7FC
oklch(77.5% 0.12 292.5)
-
Step 400
400
#A589FF
oklch(70.7% 0.169 292.5)
-
Step 500
500
#9265FF
oklch(63.2% 0.218 292.5)
-
Step 600
600
#8135FD
oklch(55.6% 0.267 292.5)
-
Step 700
700
#6E23DD
oklch(49.2% 0.249 292.6)
-
Step 800
800
#5922B2
oklch(42.7% 0.206 292.6)
-
Step 900
900
#48258D
oklch(37.7% 0.16 292.3)
-
Step 950
950
#2A1852
oklch(27% 0.1 292.7)
#B8A7FC 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) | #90B4FF | 0.058 |
| Deuteranopia (no green cones) | #92B1FA | 0.054 |
| Tritanopia (no blue cones) | #A9B6C6 | 0.101 |
| Achromatopsia (no color) | #B3B3B3 | 0.121 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B8A7FC
#B8A7FC
oklch(77.5% 0.12 292.5)
- #B7BE5E
#B7BE5E
oklch(77.6% 0.121 112.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 #B8A7FC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Purple #CAA0FF ΔE 0.031
- Lilac #CEA2FD ΔE 0.034
- Baby Purple #CA9BF7 ΔE 0.037
- Pale Violet #CEAEFA ΔE 0.039
- Light Violet #D6B4FC ΔE 0.058
- Liliac #C48EFD ΔE 0.062
- Pastel Blue #A2BFFE ΔE 0.065
- Plum #DDA0DD ΔE 0.068
Use #B8A7FC 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.