#7171F5

Closest named color: Cornflower (#6A79F7). oklch(61.7% 0.193 279.1), rgb(113, 113, 245).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.193)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.38:1
White text3.90:1

Values

HEX#7171F5
RGBrgb(113, 113, 245)
HSLhsl(240, 87%, 70%)
OKLCHoklch(61.7% 0.193 279.1)

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 #7171F5 3.90:1 AA large text Lc -71.6 Content text, not long reading
Black text on #7171F5 5.38:1 AA Lc 38.0 Non-text elements, placeholder text
#7171F5 text on white 3.90:1 AA large text Lc 66.1 Content text, not long reading
#7171F5 text on black 5.38:1 AA Lc -35.5 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

    #E5E8FC

    oklch(93.5% 0.027 279.1)

  3. Step 200

    200

    #D1D6FC

    oklch(88.4% 0.053 279.4)

  4. Step 300

    300

    #B3BBFD

    oklch(81% 0.094 278.7)

  5. Step 400

    400

    #8E94FC

    oklch(70.7% 0.151 279.3)

  6. Step 500

    500 (this color)

    #7171F5

    oklch(61.7% 0.193 279.1)

  7. Step 600

    600

    #605AE9

    oklch(55.7% 0.209 279)

  8. Step 700

    700

    #5048CB

    oklch(49.1% 0.195 279.1)

  9. Step 800

    800

    #413CA4

    oklch(42.7% 0.162 279.1)

  10. Step 900

    900

    #363582

    oklch(37.7% 0.126 279)

  11. Step 950

    950

    #1F204C

    oklch(27% 0.08 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#7171F5 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)#1C86FA0.081
Deuteranopia (no green cones)#007CF20.083
Tritanopia (no blue cones)#328FA80.167
Achromatopsia (no color)#8181810.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #7171F5

    #7171F5

    oklch(61.7% 0.193 279.1)

  • #998600

    #998600

    oklch(61.8% 0.128 99.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7171F5

    #7171F5

    oklch(61.7% 0.193 279.1)

  • #0089E6

    #0089E6

    oklch(61.8% 0.17 249)

  • #A75CDB

    #A75CDB

    oklch(61.7% 0.193 309.1)

Open the analogous palette in the generator

Split complementary

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

  • #7171F5

    #7171F5

    oklch(61.7% 0.193 279.1)

  • #B87400

    #B87400

    oklch(61.7% 0.134 69.4)

  • #659700

    #659700

    oklch(61.7% 0.164 129.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7171F5

    #7171F5

    oklch(61.7% 0.193 279.1)

  • #E04E0C

    #E04E0C

    oklch(61.8% 0.193 39.2)

  • #009E65

    #009E65

    oklch(61.6% 0.142 159)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7171F5

    #7171F5

    oklch(61.7% 0.193 279.1)

  • #DF436C

    #DF436C

    oklch(61.7% 0.193 9.3)

  • #998600

    #998600

    oklch(61.8% 0.128 99.2)

  • #009993

    #009993

    oklch(61.6% 0.106 189.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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