#7F98FF
Closest named color: Periwinkle Blue (#8F99FB). oklch(70.6% 0.153 271.7), rgb(127, 152, 255).
Aa
Black text reads best on this color (7.83:1).
About this color
#7F98FF is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.153 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.022 away. Black text reads best on it, at 7.83:1.
| Hue family | Blues |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.153) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.83:1 |
| White text | 2.67:1 |
Values
| HEX | #7F98FF |
| RGB | rgb(127, 152, 255) |
| HSL | hsl(228, 100%, 75%) |
| OKLCH | oklch(70.6% 0.153 271.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 #7F98FF | 2.67:1 | Fails | Lc -57.1 | Large or bold text, headings |
| Black text on #7F98FF | 7.83:1 | AAA | Lc 52.1 | Large or bold text, headings |
| #7F98FF text on white | 2.67:1 | Fails | Lc 51.9 | Large or bold text, headings |
| #7F98FF text on black | 7.83:1 | AAA | Lc -50.0 | 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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E3E9FD
oklch(93.5% 0.028 272.5)
-
Step 200
200
#CCD8FD
oklch(88.5% 0.053 271.1)
-
Step 300
300
#AABDFF
oklch(80.8% 0.096 271.7)
-
Step 400
400 (this color)
#7F98FF
oklch(70.6% 0.153 271.7)
-
Step 500
500
#627BFE
oklch(63.2% 0.196 271.6)
-
Step 600
600
#4C5FED
oklch(55.6% 0.213 271.7)
-
Step 700
700
#3E4DCE
oklch(49.1% 0.198 271.8)
-
Step 800
800
#3340A7
oklch(42.7% 0.165 271.9)
-
Step 900
900
#2B3884
oklch(37.7% 0.128 271.5)
-
Step 950
950
#19224D
oklch(27.1% 0.08 271.2)
#7F98FF 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) | #6FA4FF | 0.034 |
| Deuteranopia (no green cones) | #6199FD | 0.033 |
| Tritanopia (no blue cones) | #47AEBF | 0.137 |
| Achromatopsia (no color) | #9E9E9E | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F98FF
#7F98FF
oklch(70.6% 0.153 271.7)
- #C19C00
#C19C00
oklch(70.6% 0.144 91.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 #7F98FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.022
- Lavender Blue #8B88F8 ΔE 0.040
- Cornflower Blue #6495ED ΔE 0.043
- Perrywinkle #8F8CE7 ΔE 0.044
- Periwinkle #8E82FE ΔE 0.055
- Soft Blue #6488EA ΔE 0.061
- Chefchaouen Blue #4895EF ΔE 0.063
- Dark Sky Blue #448EE4 ΔE 0.081
Use #7F98FF 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.