#7271F7

Closest named color: Cornflower (#6A79F7). oklch(61.9% 0.195 279.4), rgb(114, 113, 247).

Aa

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

About this color

#7271F7 is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.195 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.42:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.195)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.42:1
White text3.87:1

Values

HEX#7271F7
RGBrgb(114, 113, 247)
HSLhsl(240, 89%, 71%)
OKLCHoklch(61.9% 0.195 279.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 #7271F7 3.87:1 AA large text Lc -71.4 Content text, not long reading
Black text on #7271F7 5.42:1 AA Lc 38.2 Non-text elements, placeholder text
#7271F7 text on white 3.87:1 AA large text Lc 65.9 Content text, not long reading
#7271F7 text on black 5.42:1 AA Lc -35.8 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

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300

    #B3BAFE

    oklch(80.8% 0.096 279.5)

  5. Step 400

    400

    #8E94FD

    oklch(70.7% 0.152 279.3)

  6. Step 500

    500 (this color)

    #7271F7

    oklch(61.9% 0.195 279.4)

  7. Step 600

    600

    #6159EA

    oklch(55.7% 0.211 279.5)

  8. Step 700

    700

    #5047CC

    oklch(49.1% 0.198 279.2)

  9. Step 800

    800

    #413CA5

    oklch(42.8% 0.163 279)

  10. Step 900

    900

    #363583

    oklch(37.8% 0.128 278.9)

  11. Step 950

    950

    #20204C

    oklch(27.1% 0.079 279.7)

Export this scale for Tailwind in the Tailwind colors tool

#7271F7 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)#1887FC0.084
Deuteranopia (no green cones)#007CF40.084
Tritanopia (no blue cones)#3290A90.170
Achromatopsia (no color)#8181810.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #7271F7

    #7271F7

    oklch(61.9% 0.195 279.4)

  • #998600

    #998600

    oklch(61.8% 0.128 99.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7271F7

    #7271F7

    oklch(61.9% 0.195 279.4)

  • #0089E8

    #0089E8

    oklch(61.9% 0.173 249.5)

  • #A95CDC

    #A95CDC

    oklch(62% 0.195 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #7271F7

    #7271F7

    oklch(61.9% 0.195 279.4)

  • #B97500

    #B97500

    oklch(62% 0.135 69.7)

  • #659800

    #659800

    oklch(62% 0.165 129.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7271F7

    #7271F7

    oklch(61.9% 0.195 279.4)

  • #E14D05

    #E14D05

    oklch(61.8% 0.195 39.3)

  • #009F66

    #009F66

    oklch(61.9% 0.142 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7271F7

    #7271F7

    oklch(61.9% 0.195 279.4)

  • #E1426C

    #E1426C

    oklch(61.9% 0.196 9.4)

  • #998600

    #998600

    oklch(61.8% 0.128 99.2)

  • #009A93

    #009A93

    oklch(61.9% 0.107 189.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7271F7.

Similar named colors

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

Use #7271F7 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.