#B78FEC
Closest named color: Liliac (#C48EFD). oklch(72.3% 0.137 302.9), rgb(183, 143, 236).
Aa
Black text reads best on this color (8.15:1).
About this color
#B78FEC is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.137 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.033 away. Black text reads best on it, at 8.15:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | moderately saturated (0.137) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.15:1 |
| White text | 2.57:1 |
Values
| HEX | #B78FEC |
| RGB | rgb(183, 143, 236) |
| HSL | hsl(266, 71%, 74%) |
| OKLCH | oklch(72.3% 0.137 302.9) |
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 #B78FEC | 2.57:1 | Fails | Lc -55.4 | Large or bold text, headings |
| Black text on #B78FEC | 8.15:1 | AAA | Lc 53.8 | Large or bold text, headings |
| #B78FEC text on white | 2.57:1 | Fails | Lc 50.3 | Large or bold text, headings |
| #B78FEC text on black | 8.15: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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EDE6F8
oklch(93.6% 0.025 303.5)
-
Step 200
200
#DFD2F4
oklch(88.5% 0.048 302.8)
-
Step 300
300
#CBB4EF
oklch(80.9% 0.085 302.4)
-
Step 400
400 (this color)
#B78FEC
oklch(72.3% 0.137 302.9)
-
Step 500
500
#A069DF
oklch(63.1% 0.176 303.2)
-
Step 600
600
#8B4DCD
oklch(55.6% 0.191 302.9)
-
Step 700
700
#763DB1
oklch(49% 0.177 302.9)
-
Step 800
800
#60348F
oklch(42.7% 0.146 303)
-
Step 900
900
#4E2E72
oklch(37.6% 0.114 303)
-
Step 950
950
#2E1C43
oklch(27% 0.072 303.2)
#B78FEC 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) | #78A0F0 | 0.091 |
| Deuteranopia (no green cones) | #81A1EA | 0.084 |
| Tritanopia (no blue cones) | #AE9EB2 | 0.105 |
| Achromatopsia (no color) | #A1A1A1 | 0.138 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B78FEC
#B78FEC
oklch(72.3% 0.137 302.9)
- #96B349
#96B349
oklch(72.3% 0.137 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 #B78FEC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.033
- Pale Purple #B790D4 ΔE 0.036
- Baby Purple #CA9BF7 ΔE 0.045
- Pastel Purple #CAA0FF ΔE 0.056
- Light Purple #BF77F6 ΔE 0.060
- Periwinkle Blue #8F99FB ΔE 0.062
- Perrywinkle #8F8CE7 ΔE 0.062
- Lilac #CEA2FD ΔE 0.063
Use #B78FEC 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.