#7F8CED
Closest named color: Perrywinkle (#8F8CE7). oklch(67.2% 0.144 276.1), rgb(127, 140, 237).
Aa
Black text reads best on this color (6.87:1).
About this color
#7F8CED is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.144 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.023 away. Black text reads best on it, at 6.87:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 6.87:1 |
| White text | 3.05:1 |
Values
| HEX | #7F8CED |
| RGB | rgb(127, 140, 237) |
| HSL | hsl(233, 75%, 71%) |
| OKLCH | oklch(67.2% 0.144 276.1) |
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 #7F8CED | 3.05:1 | AA large text | Lc -62.6 | Content text, not long reading |
| Black text on #7F8CED | 6.87:1 | AA | Lc 46.8 | Large or bold text, headings |
| #7F8CED text on white | 3.05:1 | AA large text | Lc 57.2 | Large or bold text, headings |
| #7F8CED text on black | 6.87:1 | AA | Lc -44.5 | 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 400.
-
Step 50
50
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E5E9FC
oklch(93.7% 0.026 276.4)
-
Step 200
200
#D0D7FB
oklch(88.5% 0.05 276.6)
-
Step 300
300
#B0BCFB
oklch(80.9% 0.09 275.9)
-
Step 400
400 (this color)
#7F8CED
oklch(67.2% 0.144 276.1)
-
Step 500
500
#6E79F6
oklch(63% 0.184 276)
-
Step 600
600
#595EE5
oklch(55.6% 0.2 276.1)
-
Step 700
700
#4A4DC7
oklch(49.2% 0.186 276.1)
-
Step 800
800
#3C40A1
oklch(42.8% 0.154 275.9)
-
Step 900
900
#33377F
oklch(37.6% 0.12 276.6)
-
Step 950
950
#1D214B
oklch(27% 0.077 275.9)
#7F8CED 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) | #6798F1 | 0.038 |
| Deuteranopia (no green cones) | #5D8FEB | 0.040 |
| Tritanopia (no blue cones) | #57A0B1 | 0.127 |
| Achromatopsia (no color) | #939393 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F8CED
#7F8CED
oklch(67.2% 0.144 276.1)
- #AF9400
#AF9400
oklch(67.1% 0.138 96)
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 #7F8CED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.023
- Lavender Blue #8B88F8 ΔE 0.026
- Soft Blue #6488EA ΔE 0.036
- Cornflower Blue #6495ED ΔE 0.037
- Periwinkle #8E82FE ΔE 0.042
- Periwinkle Blue #8F99FB ΔE 0.044
- Chefchaouen Blue #4895EF ΔE 0.058
- Cornflower #6A79F7 ΔE 0.062
Use #7F8CED 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.