#8271AF

Closest named color: Dark Lavender (#856798). oklch(58.9% 0.095 296), rgb(130, 113, 175).

Aa

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

About this color

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

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

Values

HEX#8271AF
RGBrgb(130, 113, 175)
HSLhsl(256, 28%, 56%)
OKLCHoklch(58.9% 0.095 296)

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 #8271AF 4.25:1 AA large text Lc -74.9 Content text, not long reading
Black text on #8271AF 4.93:1 AA Lc 34.7 Non-text elements, placeholder text
#8271AF text on white 4.25:1 AA large text Lc 69.4 Content text, not long reading
#8271AF text on black 4.93:1 AA Lc -32.3 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

    #DAD6E7

    oklch(88.4% 0.023 296.7)

  4. Step 300

    300

    #C2BCDA

    oklch(81% 0.042 294.6)

  5. Step 400

    400

    #A498C7

    oklch(70.7% 0.069 296.3)

  6. Step 500

    500

    #8E7FB8

    oklch(63.2% 0.086 295.9)

  7. Step 600

    600 (this color)

    #8271AF

    oklch(58.9% 0.095 296)

  8. Step 700

    700

    #65568D

    oklch(49.2% 0.088 295.5)

  9. Step 800

    800

    #534672

    oklch(42.7% 0.073 296.8)

  10. Step 900

    900

    #443B5C

    oklch(37.6% 0.056 296.1)

  11. Step 950

    950

    #282336

    oklch(27.1% 0.035 296)

Export this scale for Tailwind in the Tailwind colors tool

#8271AF 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)#617BB10.051
Deuteranopia (no green cones)#647AAD0.048
Tritanopia (no blue cones)#797B880.076
Achromatopsia (no color)#7B7B7B0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #8271AF

    #8271AF

    oklch(58.9% 0.095 296)

  • #7A843E

    #7A843E

    oklch(58.9% 0.095 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8271AF

    #8271AF

    oklch(58.9% 0.095 296)

  • #627BB6

    #627BB6

    oklch(58.8% 0.096 266)

  • #9A699B

    #9A699B

    oklch(58.9% 0.094 326)

Open the analogous palette in the generator

Split complementary

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

  • #8271AF

    #8271AF

    oklch(58.9% 0.095 296)

  • #967933

    #967933

    oklch(59% 0.095 86.5)

  • #568C5A

    #568C5A

    oklch(58.9% 0.095 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8271AF

    #8271AF

    oklch(58.9% 0.095 296)

  • #A86D43

    #A86D43

    oklch(58.9% 0.095 55.2)

  • #2E8F7B

    #2E8F7B

    oklch(58.9% 0.094 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8271AF

    #8271AF

    oklch(58.9% 0.095 296)

  • #AE665F

    #AE665F

    oklch(58.9% 0.094 26.2)

  • #7A843E

    #7A843E

    oklch(58.9% 0.095 116.1)

  • #1C8D99

    #1C8D99

    oklch(59% 0.095 206.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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