#8A51FA

Closest named color: Purpley (#8756E4). oklch(59.3% 0.237 293.3), rgb(138, 81, 250).

Aa

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

About this color

#8A51FA is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.237 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.035 away. Black text reads best on it, at 4.63:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.237)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.63:1
White text4.52:1

Values

HEX#8A51FA
RGBrgb(138, 81, 250)
HSLhsl(260, 94%, 65%)
OKLCHoklch(59.3% 0.237 293.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 #8A51FA 4.52:1 AA Lc -76.2 Fine for body text
Black text on #8A51FA 4.63:1 AA Lc 33.3 Non-text elements, placeholder text
#8A51FA text on white 4.52:1 AA Lc 70.7 Content text, not long reading
#8A51FA text on black 4.63:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE6FD

    oklch(93.5% 0.031 293.8)

  3. Step 200

    200

    #DAD2FD

    oklch(88.4% 0.059 293.7)

  4. Step 300

    300

    #C3B4FF

    oklch(80.9% 0.105 293.1)

  5. Step 400

    400

    #A788FF

    oklch(70.7% 0.17 293.6)

  6. Step 500

    500

    #9364FE

    oklch(63% 0.218 293.2)

  7. Step 600

    600 (this color)

    #8A51FA

    oklch(59.3% 0.237 293.3)

  8. Step 700

    700

    #6C33CE

    oklch(49% 0.22 293.2)

  9. Step 800

    800

    #582DA7

    oklch(42.8% 0.182 293.2)

  10. Step 900

    900

    #482B84

    oklch(37.8% 0.142 293.4)

  11. Step 950

    950

    #2A1A4D

    oklch(27% 0.09 294)

Export this scale for Tailwind in the Tailwind colors tool

#8A51FA 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)#0078FF0.140
Deuteranopia (no green cones)#0073F70.139
Tritanopia (no blue cones)#697B9F0.187
Achromatopsia (no color)#7676760.238

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A51FA

    #8A51FA

    oklch(59.3% 0.237 293.3)

  • #7F8600

    #7F8600

    oklch(59.4% 0.133 113.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A51FA

    #8A51FA

    oklch(59.3% 0.237 293.3)

  • #3271FF

    #3271FF

    oklch(59.3% 0.221 263.2)

  • #BC36CC

    #BC36CC

    oklch(59.2% 0.236 323.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A51FA

    #8A51FA

    oklch(59.3% 0.237 293.3)

  • #A17600

    #A17600

    oklch(59.3% 0.122 83)

  • #009914

    #009914

    oklch(59.2% 0.196 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A51FA

    #8A51FA

    oklch(59.3% 0.237 293.3)

  • #C05F00

    #C05F00

    oklch(59.2% 0.15 53.1)

  • #009378

    #009378

    oklch(59.2% 0.113 173.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A51FA

    #8A51FA

    oklch(59.3% 0.237 293.3)

  • #EA0931

    #EA0931

    oklch(59.3% 0.237 23.3)

  • #7F8600

    #7F8600

    oklch(59.4% 0.133 113.4)

  • #008F99

    #008F99

    oklch(59.2% 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 #8A51FA, closest first.

Similar named colors

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

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