#7172FC

Closest named color: Cornflower (#6A79F7). oklch(62.4% 0.201 278.6), rgb(113, 114, 252).

Aa

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

About this color

#7172FC is a medium-light, vivid blue. In OKLCH its lightness is 62%, its chroma 0.201 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.51:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromavivid (0.201)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.51:1
White text3.80:1

Values

HEX#7172FC
RGBrgb(113, 114, 252)
HSLhsl(240, 96%, 72%)
OKLCHoklch(62.4% 0.201 278.6)

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 #7172FC 3.80:1 AA large text Lc -70.7 Content text, not long reading
Black text on #7172FC 5.51:1 AA Lc 38.8 Non-text elements, placeholder text
#7172FC text on white 3.80:1 AA large text Lc 65.2 Content text, not long reading
#7172FC text on black 5.51:1 AA Lc -36.4 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

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D0D6FE

    oklch(88.4% 0.055 278.5)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500 (this color)

    #7172FC

    oklch(62.4% 0.201 278.6)

  7. Step 600

    600

    #5E58EE

    oklch(55.6% 0.218 278.4)

  8. Step 700

    700

    #4F46CF

    oklch(49.1% 0.203 278.8)

  9. Step 800

    800

    #403BA7

    oklch(42.7% 0.168 278.6)

  10. Step 900

    900

    #353484

    oklch(37.6% 0.131 278.6)

  11. Step 950

    950

    #1F204E

    oklch(27.2% 0.083 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#7172FC 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)#0988FF0.085
Deuteranopia (no green cones)#007DF90.082
Tritanopia (no blue cones)#2792AC0.174
Achromatopsia (no color)#8383830.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #7172FC

    #7172FC

    oklch(62.4% 0.201 278.6)

  • #9C8700

    #9C8700

    oklch(62.4% 0.129 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7172FC

    #7172FC

    oklch(62.4% 0.201 278.6)

  • #008BE8

    #008BE8

    oklch(62.4% 0.171 248.7)

  • #AA5CE1

    #AA5CE1

    oklch(62.4% 0.2 308.8)

Open the analogous palette in the generator

Split complementary

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

  • #7172FC

    #7172FC

    oklch(62.4% 0.201 278.6)

  • #BC7500

    #BC7500

    oklch(62.4% 0.137 68.3)

  • #699900

    #699900

    oklch(62.5% 0.164 128.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7172FC

    #7172FC

    oklch(62.4% 0.201 278.6)

  • #E54B03

    #E54B03

    oklch(62.3% 0.201 38.5)

  • #00A166

    #00A166

    oklch(62.5% 0.145 158.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7172FC

    #7172FC

    oklch(62.4% 0.201 278.6)

  • #E4416F

    #E4416F

    oklch(62.4% 0.2 8.5)

  • #9C8700

    #9C8700

    oklch(62.4% 0.129 98.2)

  • #009C94

    #009C94

    oklch(62.4% 0.108 188.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7172FC.

Similar named colors

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

Use #7172FC 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.