#8271D7

Closest named color: Medium Purple (#9370DB). oklch(61.1% 0.15 288.8), rgb(130, 113, 215).

Aa

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

About this color

#8271D7 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.150 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.027 away. Black text reads best on it, at 5.29:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.150)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.29:1
White text3.96:1

Values

HEX#8271D7
RGBrgb(130, 113, 215)
HSLhsl(250, 56%, 64%)
OKLCHoklch(61.1% 0.15 288.8)

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 #8271D7 3.96:1 AA large text Lc -72.4 Content text, not long reading
Black text on #8271D7 5.29:1 AA Lc 37.2 Non-text elements, placeholder text
#8271D7 text on white 3.96:1 AA large text Lc 66.9 Content text, not long reading
#8271D7 text on black 5.29:1 AA Lc -34.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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D7D5F3

    oklch(88.4% 0.041 288.6)

  4. Step 300

    300

    #BEB9EE

    oklch(80.8% 0.074 288.9)

  5. Step 400

    400

    #9E94E5

    oklch(70.7% 0.117 288.7)

  6. Step 500

    500 (this color)

    #8271D7

    oklch(61.1% 0.15 288.8)

  7. Step 600

    600

    #735ECB

    oklch(55.7% 0.162 288.9)

  8. Step 700

    700

    #604CB0

    oklch(49% 0.153 288.7)

  9. Step 800

    800

    #4F3F8E

    oklch(42.7% 0.126 289.3)

  10. Step 900

    900

    #413772

    oklch(37.8% 0.098 288.6)

  11. Step 950

    950

    #262043

    oklch(27% 0.064 289.3)

Export this scale for Tailwind in the Tailwind colors tool

#8271D7 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)#4A82DB0.076
Deuteranopia (no green cones)#4A7DD50.074
Tritanopia (no blue cones)#6B869A0.126
Achromatopsia (no color)#8080800.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #8271D7

    #8271D7

    oklch(61.1% 0.15 288.8)

  • #8B8900

    #8B8900

    oklch(61.2% 0.132 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8271D7

    #8271D7

    oklch(61.1% 0.15 288.8)

  • #4782DC

    #4782DC

    oklch(61.1% 0.15 258.7)

  • #A962BC

    #A962BC

    oklch(61% 0.151 318.9)

Open the analogous palette in the generator

Split complementary

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

  • #8271D7

    #8271D7

    oklch(61.1% 0.15 288.8)

  • #AC7900

    #AC7900

    oklch(61.2% 0.127 79.1)

  • #4F9838

    #4F9838

    oklch(61.1% 0.15 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8271D7

    #8271D7

    oklch(61.1% 0.15 288.8)

  • #C9621F

    #C9621F

    oklch(61.1% 0.151 48.6)

  • #009A76

    #009A76

    oklch(61% 0.122 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8271D7

    #8271D7

    oklch(61.1% 0.15 288.8)

  • #CE575F

    #CE575F

    oklch(61.1% 0.151 18.7)

  • #8B8900

    #8B8900

    oklch(61.2% 0.132 108.7)

  • #00969B

    #00969B

    oklch(61.1% 0.104 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8271D7 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.