#7178EA
Closest named color: Cornflower (#6A79F7). oklch(62.3% 0.169 277.7), rgb(113, 120, 234).
Aa
Black text reads best on this color (5.57:1).
About this color
#7178EA is a medium-light, vivid blue. In OKLCH its lightness is 62%, its chroma 0.169 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.021 away. Black text reads best on it, at 5.57:1.
| Hue family | Blues |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.169) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.57:1 |
| White text | 3.76:1 |
Values
| HEX | #7178EA |
| RGB | rgb(113, 120, 234) |
| HSL | hsl(237, 74%, 68%) |
| OKLCH | oklch(62.3% 0.169 277.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 #7178EA | 3.76:1 | AA large text | Lc -70.5 | Content text, not long reading |
| Black text on #7178EA | 5.57:1 | AA | Lc 39.1 | Non-text elements, placeholder text |
| #7178EA text on white | 3.76:1 | AA large text | Lc 65.0 | Content text, not long reading |
| #7178EA text on black | 5.57:1 | AA | Lc -36.7 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E6E9FA
oklch(93.7% 0.023 277.9)
-
Step 200
200
#D1D7F8
oklch(88.5% 0.046 277.3)
-
Step 300
300
#B3BCF6
oklch(80.9% 0.083 277.5)
-
Step 400
400
#8D97F2
oklch(70.6% 0.133 277.7)
-
Step 500
500 (this color)
#7178EA
oklch(62.3% 0.169 277.7)
-
Step 600
600
#5E61DB
oklch(55.7% 0.182 277.6)
-
Step 700
700
#4E4FBE
oklch(49.1% 0.17 277.7)
-
Step 800
800
#3F419A
oklch(42.6% 0.142 277.5)
-
Step 900
900
#35387A
oklch(37.6% 0.11 277.7)
-
Step 950
950
#1F2248
oklch(27.1% 0.07 277.3)
#7178EA 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) | #4289EE | 0.060 |
| Deuteranopia (no green cones) | #347FE8 | 0.062 |
| Tritanopia (no blue cones) | #3C91A6 | 0.148 |
| Achromatopsia (no color) | #838383 | 0.169 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7178EA
#7178EA
oklch(62.3% 0.169 277.7)
- #9C8600
#9C8600
oklch(62.1% 0.128 97.5)
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 #7178EA, closest first.
No curated palette has a color within ΔE 0.04 of #7178EA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.021
- Medium Slate Blue #7B68EE ΔE 0.040
- Soft Blue #6488EA ΔE 0.041
- Medium Purple #9370DB ΔE 0.055
- Periwinkle #8E82FE ΔE 0.057
- Lavender Blue #8B88F8 ΔE 0.059
- Dark Sky Blue #448EE4 ΔE 0.070
- Perrywinkle #8F8CE7 ΔE 0.071
Use #7178EA 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.