#8640AF

Closest named color: Purply (#983FB2). oklch(51.2% 0.175 310.7), rgb(134, 64, 175).

Aa

White text reads best on this color (6.23:1).

About this color

#8640AF is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.175 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.035 away. White text reads best on it, at 6.23:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.175)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.36:1
White text6.23:1

Values

HEX#8640AF
RGBrgb(134, 64, 175)
HSLhsl(278, 46%, 47%)
OKLCHoklch(51.2% 0.175 310.7)

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 #8640AF 6.23:1 AA Lc -85.7 Fine for body text
Black text on #8640AF 3.36:1 AA large text Lc 23.5 Dividers and decoration only
#8640AF text on white 6.23:1 AA Lc 80.5 Fine for body text
#8640AF text on black 3.36:1 AA large text Lc -21.3 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F1

    oklch(88.5% 0.047 310.5)

  4. Step 300

    300

    #D2B2EA

    oklch(81% 0.085 310.4)

  5. Step 400

    400

    #BB87DF

    oklch(70.7% 0.136 310.5)

  6. Step 500

    500

    #AA66D6

    oklch(63.2% 0.173 310.4)

  7. Step 600

    600

    #9649C3

    oklch(55.6% 0.189 310.8)

  8. Step 700

    700 (this color)

    #8640AF

    oklch(51.2% 0.175 310.7)

  9. Step 800

    800

    #683188

    oklch(42.8% 0.144 310.9)

  10. Step 900

    900

    #542C6D

    oklch(37.6% 0.113 310.5)

  11. Step 950

    950

    #311B40

    oklch(27% 0.071 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#8640AF 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)#085DB20.158
Deuteranopia (no green cones)#3462AC0.138
Tritanopia (no blue cones)#8156720.120
Achromatopsia (no color)#6161610.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #8640AF

    #8640AF

    oklch(51.2% 0.175 310.7)

  • #497600

    #497600

    oklch(51.3% 0.14 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8640AF

    #8640AF

    oklch(51.2% 0.175 310.7)

  • #5952C7

    #5952C7

    oklch(51.2% 0.176 280.9)

  • #A43084

    #A43084

    oklch(51.2% 0.176 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #8640AF

    #8640AF

    oklch(51.2% 0.175 310.7)

  • #756800

    #756800

    oklch(51.4% 0.107 100.8)

  • #007A50

    #007A50

    oklch(51.2% 0.115 160.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8640AF

    #8640AF

    oklch(51.2% 0.175 310.7)

  • #8E5A00

    #8E5A00

    oklch(51.3% 0.111 70.8)

  • #007672

    #007672

    oklch(51.1% 0.088 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8640AF

    #8640AF

    oklch(51.2% 0.175 310.7)

  • #AD3C00

    #AD3C00

    oklch(51.2% 0.158 40.7)

  • #497600

    #497600

    oklch(51.3% 0.14 131)

  • #00728C

    #00728C

    oklch(51.1% 0.094 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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