#8781FC
Closest named color: Periwinkle (#8E82FE). oklch(66.6% 0.177 282.7), rgb(135, 129, 252).
Aa
Black text reads best on this color (6.57:1).
About this color
#8781FC is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.177 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.011 away. Black text reads best on it, at 6.57:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.177) |
| Temperature | cool |
| Nearest name | Periwinkle (#8E82FE) |
| Black text | 6.57:1 |
| White text | 3.19:1 |
Values
| HEX | #8781FC |
| RGB | rgb(135, 129, 252) |
| HSL | hsl(243, 95%, 75%) |
| OKLCH | oklch(66.6% 0.177 282.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 #8781FC | 3.19:1 | AA large text | Lc -64.3 | Content text, not long reading |
| Black text on #8781FC | 6.57:1 | AA | Lc 45.2 | Large or bold text, headings |
| #8781FC text on white | 3.19:1 | AA large text | Lc 58.9 | Large or bold text, headings |
| #8781FC text on black | 6.57:1 | AA | Lc -42.8 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D4D6F9
oklch(88.6% 0.048 282.8)
-
Step 300
300
#B8BAF8
oklch(80.9% 0.087 282.8)
-
Step 400
400
#9594F4
oklch(70.8% 0.139 282.7)
-
Step 500
500 (this color)
#8781FC
oklch(66.6% 0.177 282.7)
-
Step 600
600
#685BDE
oklch(55.6% 0.192 282.6)
-
Step 700
700
#574AC1
oklch(49.2% 0.179 282.5)
-
Step 800
800
#473D9C
oklch(42.7% 0.149 282.8)
-
Step 900
900
#3B367C
oklch(37.8% 0.115 282.6)
-
Step 950
950
#222049
oklch(27% 0.074 282.5)
#8781FC 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) | #4A94FF | 0.076 |
| Deuteranopia (no green cones) | #438CF9 | 0.077 |
| Tritanopia (no blue cones) | #5F9BB3 | 0.151 |
| Achromatopsia (no color) | #909090 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8781FC
#8781FC
oklch(66.6% 0.177 282.7)
- #A59600
#A59600
oklch(66.5% 0.14 102.3)
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 #8781FC, closest first.
No curated palette has a color within ΔE 0.04 of #8781FC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle #8E82FE ΔE 0.011
- Lavender Blue #8B88F8 ΔE 0.020
- Cornflower #6A79F7 ΔE 0.047
- Perrywinkle #8F8CE7 ΔE 0.047
- Soft Blue #6488EA ΔE 0.055
- Medium Purple #9370DB ΔE 0.060
- Periwinkle Blue #8F99FB ΔE 0.063
- Medium Slate Blue #7B68EE ΔE 0.065
Use #8781FC 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.