#7F71CD

Closest named color: Medium Purple (#9370DB). oklch(60.3% 0.137 288.6), rgb(127, 113, 205).

Aa

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

About this color

#7F71CD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.137 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.038 away. Black text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.137)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.14:1
White text4.08:1

Values

HEX#7F71CD
RGBrgb(127, 113, 205)
HSLhsl(249, 48%, 62%)
OKLCHoklch(60.3% 0.137 288.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 #7F71CD 4.08:1 AA large text Lc -73.4 Content text, not long reading
Black text on #7F71CD 5.14:1 AA Lc 36.2 Non-text elements, placeholder text
#7F71CD text on white 4.08:1 AA large text Lc 67.9 Content text, not long reading
#7F71CD text on black 5.14:1 AA Lc -33.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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BEBAEA

    oklch(80.8% 0.067 288.6)

  5. Step 400

    400

    #9E95DF

    oklch(70.6% 0.107 288.9)

  6. Step 500

    500 (this color)

    #7F71CD

    oklch(60.3% 0.137 288.6)

  7. Step 600

    600

    #7261C4

    oklch(55.7% 0.149 288.5)

  8. Step 700

    700

    #604FA9

    oklch(49% 0.139 288.9)

  9. Step 800

    800

    #4E4289

    oklch(42.8% 0.114 288.4)

  10. Step 900

    900

    #40386E

    oklch(37.7% 0.09 288.1)

  11. Step 950

    950

    #262140

    oklch(27% 0.057 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F71CD 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)#5080D00.067
Deuteranopia (no green cones)#507BCB0.064
Tritanopia (no blue cones)#6A83950.115
Achromatopsia (no color)#7E7E7E0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F71CD

    #7F71CD

    oklch(60.3% 0.137 288.6)

  • #888600

    #888600

    oklch(60.2% 0.13 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F71CD

    #7F71CD

    oklch(60.3% 0.137 288.6)

  • #4B80D2

    #4B80D2

    oklch(60.2% 0.138 258.8)

  • #A364B5

    #A364B5

    oklch(60.3% 0.137 318.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F71CD

    #7F71CD

    oklch(60.3% 0.137 288.6)

  • #A97600

    #A97600

    oklch(60.2% 0.125 78.5)

  • #53943E

    #53943E

    oklch(60.3% 0.138 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F71CD

    #7F71CD

    oklch(60.3% 0.137 288.6)

  • #C1642C

    #C1642C

    oklch(60.3% 0.137 48.6)

  • #009874

    #009874

    oklch(60.4% 0.122 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F71CD

    #7F71CD

    oklch(60.3% 0.137 288.6)

  • #C55A60

    #C55A60

    oklch(60.2% 0.137 18.7)

  • #888600

    #888600

    oklch(60.2% 0.13 108.7)

  • #009398

    #009398

    oklch(60.2% 0.102 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7F71CD 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.