#8271BA

Closest named color: Deep Lilac (#966EBD). oklch(59.5% 0.11 293.5), rgb(130, 113, 186).

Aa

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

About this color

#8271BA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.110 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.033 away. Black text reads best on it, at 5.02:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.02:1
White text4.18:1

Values

HEX#8271BA
RGBrgb(130, 113, 186)
HSLhsl(254, 35%, 59%)
OKLCHoklch(59.5% 0.11 293.5)

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 #8271BA 4.18:1 AA large text Lc -74.2 Content text, not long reading
Black text on #8271BA 5.02:1 AA Lc 35.3 Non-text elements, placeholder text
#8271BA text on white 4.18:1 AA large text Lc 68.7 Content text, not long reading
#8271BA text on black 5.02:1 AA Lc -32.9 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6EC

    oklch(88.5% 0.03 292)

  4. Step 300

    300

    #C2BBE1

    oklch(81% 0.053 293.6)

  5. Step 400

    400

    #A397D2

    oklch(70.8% 0.086 293.4)

  6. Step 500

    500 (this color)

    #8271BA

    oklch(59.5% 0.11 293.5)

  7. Step 600

    600

    #7764B2

    oklch(55.6% 0.119 293.3)

  8. Step 700

    700

    #645299

    oklch(49% 0.112 293.5)

  9. Step 800

    800

    #52447C

    oklch(42.7% 0.091 293.7)

  10. Step 900

    900

    #443A64

    oklch(37.9% 0.071 293.7)

  11. Step 950

    950

    #27223B

    oklch(27% 0.046 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#8271BA 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)#5C7DBD0.057
Deuteranopia (no green cones)#5E7BB80.055
Tritanopia (no blue cones)#767E8D0.090
Achromatopsia (no color)#7C7C7C0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #8271BA

    #8271BA

    oklch(59.5% 0.11 293.5)

  • #7F852E

    #7F852E

    oklch(59.4% 0.11 113)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8271BA

    #8271BA

    oklch(59.5% 0.11 293.5)

  • #5C7DC0

    #5C7DC0

    oklch(59.4% 0.11 263.5)

  • #9E67A4

    #9E67A4

    oklch(59.4% 0.11 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #8271BA

    #8271BA

    oklch(59.5% 0.11 293.5)

  • #9E7821

    #9E7821

    oklch(59.5% 0.11 83.5)

  • #548F52

    #548F52

    oklch(59.4% 0.11 143.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8271BA

    #8271BA

    oklch(59.5% 0.11 293.5)

  • #B16B3A

    #B16B3A

    oklch(59.5% 0.11 53.8)

  • #129479

    #129479

    oklch(59.6% 0.111 173.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8271BA

    #8271BA

    oklch(59.5% 0.11 293.5)

  • #B7625F

    #B7625F

    oklch(59.4% 0.11 23)

  • #7F852E

    #7F852E

    oklch(59.4% 0.11 113)

  • #00909A

    #00909A

    oklch(59.5% 0.101 203.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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