#7257C5

Closest named color: Light Indigo (#6D5ACF). oklch(54% 0.165 291.2), rgb(114, 87, 197).

Aa

White text reads best on this color (5.40:1).

About this color

#7257C5 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.165 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.018 away. White text reads best on it, at 5.40:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text3.88:1
White text5.40:1

Values

HEX#7257C5
RGBrgb(114, 87, 197)
HSLhsl(255, 49%, 56%)
OKLCHoklch(54% 0.165 291.2)

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 #7257C5 5.40:1 AA Lc -82.0 Fine for body text
Black text on #7257C5 3.88:1 AA large text Lc 27.4 Dividers and decoration only
#7257C5 text on white 5.40:1 AA Lc 76.6 Fine for body text
#7257C5 text on black 3.88:1 AA large text Lc -25.1 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D9D5F3

    oklch(88.5% 0.041 291.7)

  4. Step 300

    300

    #C0B9ED

    oklch(80.9% 0.073 290.8)

  5. Step 400

    400

    #A193E5

    oklch(70.8% 0.118 290.9)

  6. Step 500

    500

    #8C76DD

    oklch(63.2% 0.151 291.3)

  7. Step 600

    600 (this color)

    #7257C5

    oklch(54% 0.165 291.2)

  8. Step 700

    700

    #644BAF

    oklch(49.1% 0.153 291.3)

  9. Step 800

    800

    #513E8E

    oklch(42.7% 0.127 291)

  10. Step 900

    900

    #433671

    oklch(37.8% 0.098 291.1)

  11. Step 950

    950

    #272042

    oklch(27% 0.062 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#7257C5 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)#1C6CC90.100
Deuteranopia (no green cones)#2368C30.096
Tritanopia (no blue cones)#5B6F850.135
Achromatopsia (no color)#6A6A6A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #7257C5

    #7257C5

    oklch(54% 0.165 291.2)

  • #727400

    #727400

    oklch(53.9% 0.118 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7257C5

    #7257C5

    oklch(54% 0.165 291.2)

  • #3369CD

    #3369CD

    oklch(54% 0.166 261.4)

  • #9847A7

    #9847A7

    oklch(53.9% 0.164 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #7257C5

    #7257C5

    oklch(54% 0.165 291.2)

  • #8F6600

    #8F6600

    oklch(53.9% 0.111 80.9)

  • #288418

    #288418

    oklch(53.9% 0.164 141.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7257C5

    #7257C5

    oklch(54% 0.165 291.2)

  • #AC5100

    #AC5100

    oklch(54% 0.141 51.1)

  • #008267

    #008267

    oklch(54% 0.105 171.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7257C5

    #7257C5

    oklch(54% 0.165 291.2)

  • #BB3A42

    #BB3A42

    oklch(53.9% 0.165 21.2)

  • #727400

    #727400

    oklch(53.9% 0.118 111)

  • #007E85

    #007E85

    oklch(54% 0.092 201.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7257C5 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.