#B299FC
Closest named color: Liliac (#C48EFD). oklch(74.4% 0.141 294.3), rgb(178, 153, 252).
Aa
Black text reads best on this color (8.85:1).
About this color
#B299FC is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.141 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.036 away. Black text reads best on it, at 8.85:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.85:1 |
| White text | 2.37:1 |
Values
| HEX | #B299FC |
| RGB | rgb(178, 153, 252) |
| HSL | hsl(255, 94%, 79%) |
| OKLCH | oklch(74.4% 0.141 294.3) |
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 #B299FC | 2.37:1 | Fails | Lc -51.6 | Large or bold text, headings |
| Black text on #B299FC | 8.85:1 | AAA | Lc 57.3 | Large or bold text, headings |
| #B299FC text on white | 2.37:1 | Fails | Lc 46.6 | Large or bold text, headings |
| #B299FC text on black | 8.85:1 | AAA | Lc -55.4 | 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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EAE7FA
oklch(93.6% 0.026 293.1)
-
Step 200
200
#DAD3F7
oklch(88.4% 0.05 294.3)
-
Step 300
300
#C4B6F5
oklch(81% 0.089 294.5)
-
Step 400
400 (this color)
#B299FC
oklch(74.4% 0.141 294.3)
-
Step 500
500
#926DEA
oklch(63% 0.182 294.2)
-
Step 600
600
#7E51D8
oklch(55.5% 0.197 294.4)
-
Step 700
700
#6B41BB
oklch(49.1% 0.182 294.6)
-
Step 800
800
#573798
oklch(42.9% 0.151 294.3)
-
Step 900
900
#473179
oklch(37.8% 0.118 294.1)
-
Step 950
950
#291D47
oklch(26.9% 0.076 293.9)
#B299FC 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) | #7DA9FF | 0.075 |
| Deuteranopia (no green cones) | #80A7F9 | 0.072 |
| Tritanopia (no blue cones) | #A2ABBF | 0.115 |
| Achromatopsia (no color) | #A8A8A8 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B299FC
#B299FC
oklch(74.4% 0.141 294.3)
- #ABB63F
#ABB63F
oklch(74.5% 0.141 114.4)
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 #B299FC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.036
- Baby Purple #CA9BF7 ΔE 0.038
- Pastel Purple #CAA0FF ΔE 0.042
- Periwinkle Blue #8F99FB ΔE 0.049
- Lilac #CEA2FD ΔE 0.050
- Pale Purple #B790D4 ΔE 0.058
- Perrywinkle #8F8CE7 ΔE 0.069
- Pale Violet #CEAEFA ΔE 0.071
Use #B299FC 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.