#8A62EA

Closest named color: Medium Slate Blue (#7B68EE). oklch(60.5% 0.197 293.2), rgb(138, 98, 234).

Aa

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

About this color

#8A62EA is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.197 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.026 away. Black text reads best on it, at 5.01:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.197)
Temperaturein between
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.01:1
White text4.18:1

Values

HEX#8A62EA
RGBrgb(138, 98, 234)
HSLhsl(258, 76%, 65%)
OKLCHoklch(60.5% 0.197 293.2)

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 #8A62EA 4.18:1 AA large text Lc -74.0 Content text, not long reading
Black text on #8A62EA 5.01:1 AA Lc 35.6 Non-text elements, placeholder text
#8A62EA text on white 4.18:1 AA large text Lc 68.5 Content text, not long reading
#8A62EA text on black 5.01:1 AA Lc -33.2 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300

    #C3B5FA

    oklch(80.9% 0.097 293.4)

  5. Step 400

    400

    #A68CF7

    oklch(70.8% 0.154 293.3)

  6. Step 500

    500 (this color)

    #8A62EA

    oklch(60.5% 0.197 293.2)

  7. Step 600

    600

    #7D4DE2

    oklch(55.6% 0.214 292.9)

  8. Step 700

    700

    #6A3CC4

    oklch(49.1% 0.199 293.1)

  9. Step 800

    800

    #56339E

    oklch(42.6% 0.164 293.2)

  10. Step 900

    900

    #472F7E

    oklch(37.8% 0.128 293.3)

  11. Step 950

    950

    #291C4A

    oklch(27% 0.082 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A62EA 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)#007DEE0.129
Deuteranopia (no green cones)#1B79E70.123
Tritanopia (no blue cones)#70809D0.157
Achromatopsia (no color)#7C7C7C0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A62EA

    #8A62EA

    oklch(60.5% 0.197 293.2)

  • #838900

    #838900

    oklch(60.5% 0.135 112.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A62EA

    #8A62EA

    oklch(60.5% 0.197 293.2)

  • #3F79F5

    #3F79F5

    oklch(60.5% 0.196 263)

  • #B74EC4

    #B74EC4

    oklch(60.5% 0.197 323.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A62EA

    #8A62EA

    oklch(60.5% 0.197 293.2)

  • #A57900

    #A57900

    oklch(60.4% 0.124 83)

  • #0F9D1A

    #0F9D1A

    oklch(60.5% 0.196 143.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A62EA

    #8A62EA

    oklch(60.5% 0.197 293.2)

  • #C66200

    #C66200

    oklch(60.5% 0.154 53)

  • #00987B

    #00987B

    oklch(60.6% 0.117 172.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A62EA

    #8A62EA

    oklch(60.5% 0.197 293.2)

  • #DF3F45

    #DF3F45

    oklch(60.5% 0.196 23.4)

  • #838900

    #838900

    oklch(60.5% 0.135 112.8)

  • #00939D

    #00939D

    oklch(60.4% 0.103 203.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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