#7B71CF

Closest named color: Medium Purple (#9370DB). oklch(60.1% 0.14 286.2), rgb(123, 113, 207).

Aa

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

About this color

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

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

Values

HEX#7B71CF
RGBrgb(123, 113, 207)
HSLhsl(246, 49%, 63%)
OKLCHoklch(60.1% 0.14 286.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 #7B71CF 4.11:1 AA large text Lc -73.6 Content text, not long reading
Black text on #7B71CF 5.10:1 AA Lc 36.0 Non-text elements, placeholder text
#7B71CF text on white 4.11:1 AA large text Lc 68.1 Content text, not long reading
#7B71CF text on black 5.10:1 AA Lc -33.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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BCBBEB

    oklch(80.9% 0.067 285.7)

  5. Step 400

    400

    #9B96E2

    oklch(70.7% 0.11 286.2)

  6. Step 500

    500 (this color)

    #7B71CF

    oklch(60.1% 0.14 286.2)

  7. Step 600

    600

    #6E61C7

    oklch(55.5% 0.153 286.1)

  8. Step 700

    700

    #5D50AC

    oklch(49.2% 0.142 286.4)

  9. Step 800

    800

    #4B428B

    oklch(42.7% 0.117 285.9)

  10. Step 900

    900

    #3F386F

    oklch(37.6% 0.092 287)

  11. Step 950

    950

    #242141

    oklch(26.9% 0.058 286)

Export this scale for Tailwind in the Tailwind colors tool

#7B71CF 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)#4E80D20.063
Deuteranopia (no green cones)#4C7ACD0.062
Tritanopia (no blue cones)#6384960.119
Achromatopsia (no color)#7D7D7D0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B71CF

    #7B71CF

    oklch(60.1% 0.14 286.2)

  • #8B8400

    #8B8400

    oklch(60% 0.128 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B71CF

    #7B71CF

    oklch(60.1% 0.14 286.2)

  • #4381D2

    #4381D2

    oklch(60.1% 0.14 256)

  • #A163B8

    #A163B8

    oklch(60.1% 0.141 316.4)

Open the analogous palette in the generator

Split complementary

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

  • #7B71CF

    #7B71CF

    oklch(60.1% 0.14 286.2)

  • #AA7400

    #AA7400

    oklch(60% 0.126 76.4)

  • #579337

    #579337

    oklch(60.2% 0.14 136.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B71CF

    #7B71CF

    oklch(60.1% 0.14 286.2)

  • #C2612D

    #C2612D

    oklch(60% 0.14 46.2)

  • #00976F

    #00976F

    oklch(60% 0.124 166.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B71CF

    #7B71CF

    oklch(60.1% 0.14 286.2)

  • #C55863

    #C55863

    oklch(60% 0.14 16.1)

  • #8B8400

    #8B8400

    oklch(60% 0.128 105.9)

  • #009395

    #009395

    oklch(60.1% 0.102 196.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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