#7178F2

Closest named color: Cornflower (#6A79F7). oklch(62.8% 0.18 277.4), rgb(113, 120, 242).

Aa

Black text reads best on this color (5.67:1).

About this color

#7178F2 is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.180 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.011 away. Black text reads best on it, at 5.67:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.180)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.67:1
White text3.70:1

Values

HEX#7178F2
RGBrgb(113, 120, 242)
HSLhsl(237, 83%, 70%)
OKLCHoklch(62.8% 0.18 277.4)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #7178F2 3.70:1 AA large text Lc -69.8 Content text, not long reading
Black text on #7178F2 5.67:1 AA Lc 39.7 Non-text elements, placeholder text
#7178F2 text on white 3.70:1 AA large text Lc 64.3 Content text, not long reading
#7178F2 text on black 5.67:1 AA Lc -37.3 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.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7FA

    oklch(88.6% 0.049 277.7)

  4. Step 300

    300

    #B2BCF9

    oklch(80.9% 0.087 277.1)

  5. Step 400

    400

    #8C96F7

    oklch(70.6% 0.141 277.7)

  6. Step 500

    500 (this color)

    #7178F2

    oklch(62.8% 0.18 277.4)

  7. Step 600

    600

    #5D5EE2

    oklch(55.6% 0.196 277.6)

  8. Step 700

    700

    #4D4DC4

    oklch(49.2% 0.181 277.4)

  9. Step 800

    800

    #3F409F

    oklch(42.8% 0.15 277.5)

  10. Step 900

    900

    #34377E

    oklch(37.6% 0.118 277.3)

  11. Step 950

    950

    #1E214A

    oklch(27% 0.075 277)

Export this scale for Tailwind in the Tailwind colors tool

#7178F2 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#398AF60.065
Deuteranopia (no green cones)#2780EF0.069
Tritanopia (no blue cones)#3493AA0.156
Achromatopsia (no color)#8585850.180

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #7178F2

    #7178F2

    oklch(62.8% 0.18 277.4)

  • #9E8800

    #9E8800

    oklch(62.8% 0.13 97.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7178F2

    #7178F2

    oklch(62.8% 0.18 277.4)

  • #008DE7

    #008DE7

    oklch(62.7% 0.168 247.7)

  • #A665DB

    #A665DB

    oklch(62.9% 0.179 307.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #7178F2

    #7178F2

    oklch(62.8% 0.18 277.4)

  • #BF7500

    #BF7500

    oklch(62.8% 0.139 67)

  • #6D9900

    #6D9900

    oklch(62.7% 0.162 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7178F2

    #7178F2

    oklch(62.8% 0.18 277.4)

  • #DF562B

    #DF562B

    oklch(62.8% 0.18 37.3)

  • #00A264

    #00A264

    oklch(62.7% 0.148 157.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7178F2

    #7178F2

    oklch(62.8% 0.18 277.4)

  • #DD4E75

    #DD4E75

    oklch(62.8% 0.18 7.3)

  • #9E8800

    #9E8800

    oklch(62.8% 0.13 97.7)

  • #009D94

    #009D94

    oklch(62.7% 0.109 187.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7178F2, closest first.

No curated palette has a color within ΔE 0.04 of #7178F2.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #7178F2 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.