#8A7FBE

Closest named color: Deep Lilac (#966EBD). oklch(63.1% 0.094 291.5), rgb(138, 127, 190).

Aa

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

About this color

#8A7FBE is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.094 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.046 away. Black text reads best on it, at 5.85:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.85:1
White text3.58:1

Values

HEX#8A7FBE
RGBrgb(138, 127, 190)
HSLhsl(250, 33%, 62%)
OKLCHoklch(63.1% 0.094 291.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 #8A7FBE 3.58:1 AA large text Lc -68.9 Content text, not long reading
Black text on #8A7FBE 5.85:1 AA Lc 40.7 Non-text elements, placeholder text
#8A7FBE text on white 3.58:1 AA large text Lc 63.4 Content text, not long reading
#8A7FBE text on black 5.85:1 AA Lc -38.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 500.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D6E9

    oklch(88.4% 0.026 293.1)

  4. Step 300

    300

    #C0BCDD

    oklch(80.9% 0.046 290.9)

  5. Step 400

    400

    #A199CB

    oklch(70.8% 0.073 291.8)

  6. Step 500

    500 (this color)

    #8A7FBE

    oklch(63.1% 0.094 291.5)

  7. Step 600

    600

    #7468AA

    oklch(55.7% 0.101 291.1)

  8. Step 700

    700

    #625692

    oklch(49.1% 0.095 291.7)

  9. Step 800

    800

    #504677

    oklch(42.7% 0.08 292)

  10. Step 900

    900

    #423B60

    oklch(37.6% 0.063 291.8)

  11. Step 950

    950

    #272338

    oklch(27.1% 0.039 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A7FBE 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)#6E88C10.042
Deuteranopia (no green cones)#6F86BC0.041
Tritanopia (no blue cones)#7F8A960.079
Achromatopsia (no color)#8787870.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7FBE

    #8A7FBE

    oklch(63.1% 0.094 291.5)

  • #8B8F48

    #8B8F48

    oklch(63.1% 0.094 111.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7FBE

    #8A7FBE

    oklch(63.1% 0.094 291.5)

  • #698AC3

    #698AC3

    oklch(63.2% 0.094 261)

  • #A476AC

    #A476AC

    oklch(63.1% 0.095 321.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A7FBE

    #8A7FBE

    oklch(63.1% 0.094 291.5)

  • #A68342

    #A68342

    oklch(63% 0.094 81.1)

  • #699862

    #699862

    oklch(63.2% 0.094 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7FBE

    #8A7FBE

    oklch(63.1% 0.094 291.5)

  • #B77953

    #B77953

    oklch(63.2% 0.094 51.8)

  • #439C82

    #439C82

    oklch(63.1% 0.095 171.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7FBE

    #8A7FBE

    oklch(63.1% 0.094 291.5)

  • #BC7270

    #BC7270

    oklch(63.2% 0.094 21.7)

  • #8B8F48

    #8B8F48

    oklch(63.1% 0.094 111.7)

  • #309AA1

    #309AA1

    oklch(63.1% 0.094 201.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A7FBE 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.