#8271AB

Closest named color: Dark Lavender (#856798). oklch(58.7% 0.089 297.1), rgb(130, 113, 171).

Aa

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

About this color

#8271AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.089 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.034 away. Black text reads best on it, at 4.89:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.89:1
White text4.28:1

Values

HEX#8271AB
RGBrgb(130, 113, 171)
HSLhsl(258, 26%, 56%)
OKLCHoklch(58.7% 0.089 297.1)

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 #8271AB 4.28:1 AA large text Lc -75.1 Fine for body text
Black text on #8271AB 4.89:1 AA Lc 34.5 Non-text elements, placeholder text
#8271AB text on white 4.28:1 AA large text Lc 69.6 Content text, not long reading
#8271AB text on black 4.89:1 AA Lc -32.1 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 600.

  1. Step 50

    50

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #DAD6E6

    oklch(88.4% 0.022 297.4)

  4. Step 300

    300

    #C3BCD8

    oklch(81% 0.04 296.9)

  5. Step 400

    400

    #A499C4

    oklch(70.7% 0.063 296.5)

  6. Step 500

    500

    #8E7FB5

    oklch(63% 0.081 296.8)

  7. Step 600

    600 (this color)

    #8271AB

    oklch(58.7% 0.089 297.1)

  8. Step 700

    700

    #66568A

    oklch(49.1% 0.083 297.4)

  9. Step 800

    800

    #534770

    oklch(42.8% 0.068 296.9)

  10. Step 900

    900

    #443B5B

    oklch(37.6% 0.055 296.6)

  11. Step 950

    950

    #282335

    oklch(27% 0.034 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#8271AB 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)#637AAD0.048
Deuteranopia (no green cones)#6579A90.046
Tritanopia (no blue cones)#7A7A860.071
Achromatopsia (no color)#7A7A7A0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #8271AB

    #8271AB

    oklch(58.7% 0.089 297.1)

  • #798343

    #798343

    oklch(58.7% 0.089 116.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8271AB

    #8271AB

    oklch(58.7% 0.089 297.1)

  • #657BB2

    #657BB2

    oklch(58.8% 0.089 267)

  • #996998

    #996998

    oklch(58.7% 0.09 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #8271AB

    #8271AB

    oklch(58.7% 0.089 297.1)

  • #937939

    #937939

    oklch(58.7% 0.089 87.3)

  • #578B5D

    #578B5D

    oklch(58.7% 0.089 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8271AB

    #8271AB

    oklch(58.7% 0.089 297.1)

  • #A46E46

    #A46E46

    oklch(58.6% 0.088 56.5)

  • #358E7B

    #358E7B

    oklch(58.8% 0.089 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8271AB

    #8271AB

    oklch(58.7% 0.089 297.1)

  • #AB675F

    #AB675F

    oklch(58.7% 0.089 27.3)

  • #798343

    #798343

    oklch(58.7% 0.089 116.5)

  • #298B97

    #298B97

    oklch(58.7% 0.089 207)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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