#7171EE

Closest named color: Cornflower (#6A79F7). oklch(61.2% 0.183 279.5), rgb(113, 113, 238).

Aa

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

About this color

#7171EE is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.183 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.023 away. Black text reads best on it, at 5.29:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.183)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.29:1
White text3.96:1

Values

HEX#7171EE
RGBrgb(113, 113, 238)
HSLhsl(240, 79%, 69%)
OKLCHoklch(61.2% 0.183 279.5)

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 #7171EE 3.96:1 AA large text Lc -72.2 Content text, not long reading
Black text on #7171EE 5.29:1 AA Lc 37.4 Non-text elements, placeholder text
#7171EE text on white 3.96:1 AA large text Lc 66.7 Content text, not long reading
#7171EE text on black 5.29:1 AA Lc -35.0 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

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B4BBFA

    oklch(80.9% 0.089 279.3)

  5. Step 400

    400

    #8F95F8

    oklch(70.7% 0.144 279.4)

  6. Step 500

    500 (this color)

    #7171EE

    oklch(61.2% 0.183 279.5)

  7. Step 600

    600

    #615CE3

    oklch(55.6% 0.199 279.4)

  8. Step 700

    700

    #514AC5

    oklch(49% 0.185 279.6)

  9. Step 800

    800

    #423EA0

    oklch(42.8% 0.154 279.5)

  10. Step 900

    900

    #37367F

    oklch(37.7% 0.12 279.6)

  11. Step 950

    950

    #20204A

    oklch(26.9% 0.076 280)

Export this scale for Tailwind in the Tailwind colors tool

#7171EE 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)#2B85F20.076
Deuteranopia (no green cones)#167BEB0.080
Tritanopia (no blue cones)#3A8DA50.158
Achromatopsia (no color)#8080800.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #7171EE

    #7171EE

    oklch(61.2% 0.183 279.5)

  • #978400

    #978400

    oklch(61.2% 0.127 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7171EE

    #7171EE

    oklch(61.2% 0.183 279.5)

  • #0087E5

    #0087E5

    oklch(61.3% 0.171 249.5)

  • #A55DD5

    #A55DD5

    oklch(61.2% 0.184 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #7171EE

    #7171EE

    oklch(61.2% 0.183 279.5)

  • #B67300

    #B67300

    oklch(61.3% 0.133 69.7)

  • #639600

    #639600

    oklch(61.3% 0.164 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7171EE

    #7171EE

    oklch(61.2% 0.183 279.5)

  • #DA5117

    #DA5117

    oklch(61.2% 0.183 39.7)

  • #009D65

    #009D65

    oklch(61.4% 0.14 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7171EE

    #7171EE

    oklch(61.2% 0.183 279.5)

  • #DA476B

    #DA476B

    oklch(61.3% 0.184 9.8)

  • #978400

    #978400

    oklch(61.2% 0.127 99.1)

  • #009891

    #009891

    oklch(61.3% 0.106 189)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7171EE.

Similar named colors

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

Use #7171EE 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.