#7171EF

Closest named color: Cornflower (#6A79F7). oklch(61.3% 0.185 279.5), rgb(113, 113, 239).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.185)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.31:1
White text3.95:1

Values

HEX#7171EF
RGBrgb(113, 113, 239)
HSLhsl(240, 80%, 69%)
OKLCHoklch(61.3% 0.185 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 #7171EF 3.95:1 AA large text Lc -72.1 Content text, not long reading
Black text on #7171EF 5.31:1 AA Lc 37.5 Non-text elements, placeholder text
#7171EF text on white 3.95:1 AA large text Lc 66.6 Content text, not long reading
#7171EF text on black 5.31: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

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B4BBFB

    oklch(80.9% 0.091 279.3)

  5. Step 400

    400

    #8F95F8

    oklch(70.7% 0.144 279.4)

  6. Step 500

    500 (this color)

    #7171EF

    oklch(61.3% 0.185 279.5)

  7. Step 600

    600

    #615BE4

    oklch(55.5% 0.201 279.5)

  8. Step 700

    700

    #514AC6

    oklch(49.1% 0.186 279.5)

  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

#7171EF 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)#2985F30.076
Deuteranopia (no green cones)#127BEC0.081
Tritanopia (no blue cones)#398DA50.160
Achromatopsia (no color)#8080800.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #7171EF

    #7171EF

    oklch(61.3% 0.185 279.5)

  • #978500

    #978500

    oklch(61.4% 0.128 99.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7171EF

    #7171EF

    oklch(61.3% 0.185 279.5)

  • #0087E5

    #0087E5

    oklch(61.3% 0.171 249.5)

  • #A55DD6

    #A55DD6

    oklch(61.3% 0.185 309.5)

Open the analogous palette in the generator

Split complementary

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

  • #7171EF

    #7171EF

    oklch(61.3% 0.185 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.

  • #7171EF

    #7171EF

    oklch(61.3% 0.185 279.5)

  • #DB5016

    #DB5016

    oklch(61.3% 0.185 39.3)

  • #009D65

    #009D65

    oklch(61.4% 0.14 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7171EF

    #7171EF

    oklch(61.3% 0.185 279.5)

  • #DA466C

    #DA466C

    oklch(61.2% 0.185 9.1)

  • #978500

    #978500

    oklch(61.4% 0.128 99.7)

  • #009892

    #009892

    oklch(61.3% 0.106 189.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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