#8A7BE9

Closest named color: Medium Purple (#9370DB). oklch(64.7% 0.16 287.3), rgb(138, 123, 233).

Aa

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

About this color

#8A7BE9 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.160 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.033 away. Black text reads best on it, at 6.09:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.160)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text6.09:1
White text3.44:1

Values

HEX#8A7BE9
RGBrgb(138, 123, 233)
HSLhsl(248, 71%, 70%)
OKLCHoklch(64.7% 0.16 287.3)

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 #8A7BE9 3.44:1 AA large text Lc -67.3 Content text, not long reading
Black text on #8A7BE9 6.09:1 AA Lc 42.2 Non-text elements, placeholder text
#8A7BE9 text on white 3.44:1 AA large text Lc 61.8 Content text, not long reading
#8A7BE9 text on black 6.09:1 AA Lc -39.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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300

    #BDB9F1

    oklch(80.8% 0.079 287.8)

  5. Step 400

    400

    #9C93EA

    oklch(70.6% 0.125 287.5)

  6. Step 500

    500 (this color)

    #8A7BE9

    oklch(64.7% 0.16 287.3)

  7. Step 600

    600

    #715CD2

    oklch(55.6% 0.175 287.5)

  8. Step 700

    700

    #5F4BB6

    oklch(49.2% 0.162 287.5)

  9. Step 800

    800

    #4D3E93

    oklch(42.7% 0.134 287.4)

  10. Step 900

    900

    #403675

    oklch(37.7% 0.104 287.6)

  11. Step 950

    950

    #252045

    oklch(27% 0.067 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A7BE9 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)#508DED0.077
Deuteranopia (no green cones)#4F87E60.075
Tritanopia (no blue cones)#6F91A70.134
Achromatopsia (no color)#8A8A8A0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7BE9

    #8A7BE9

    oklch(64.7% 0.16 287.3)

  • #989300

    #989300

    oklch(64.7% 0.139 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7BE9

    #8A7BE9

    oklch(64.7% 0.16 287.3)

  • #498DED

    #498DED

    oklch(64.6% 0.16 257.4)

  • #B56BCD

    #B56BCD

    oklch(64.7% 0.16 317.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A7BE9

    #8A7BE9

    oklch(64.7% 0.16 287.3)

  • #BB8100

    #BB8100

    oklch(64.5% 0.135 77.1)

  • #5AA438

    #5AA438

    oklch(64.8% 0.161 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7BE9

    #8A7BE9

    oklch(64.7% 0.16 287.3)

  • #DA6926

    #DA6926

    oklch(64.6% 0.161 47)

  • #00A77D

    #00A77D

    oklch(64.6% 0.132 167.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7BE9

    #8A7BE9

    oklch(64.7% 0.16 287.3)

  • #DE5E6A

    #DE5E6A

    oklch(64.6% 0.16 17.1)

  • #989300

    #989300

    oklch(64.7% 0.139 107.3)

  • #00A2A5

    #00A2A5

    oklch(64.6% 0.11 197.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8A7BE9.

Similar named colors

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

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