#8A6FFC

Closest named color: Medium Slate Blue (#7B68EE). oklch(63.8% 0.201 288.1), rgb(138, 111, 252).

Aa

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

About this color

#8A6FFC is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.201 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.036 away. Black text reads best on it, at 5.76:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.201)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.76:1
White text3.64:1

Values

HEX#8A6FFC
RGBrgb(138, 111, 252)
HSLhsl(251, 96%, 71%)
OKLCHoklch(63.8% 0.201 288.1)

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 #8A6FFC 3.64:1 AA large text Lc -69.2 Content text, not long reading
Black text on #8A6FFC 5.76:1 AA Lc 40.4 Non-text elements, placeholder text
#8A6FFC text on white 3.64:1 AA large text Lc 63.7 Content text, not long reading
#8A6FFC text on black 5.76:1 AA Lc -38.0 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

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FC

    oklch(88.5% 0.055 288.7)

  4. Step 300

    300

    #BDB7FD

    oklch(80.9% 0.098 287.9)

  5. Step 400

    400

    #9D8EFC

    oklch(70.7% 0.157 287.9)

  6. Step 500

    500 (this color)

    #8A6FFC

    oklch(63.8% 0.201 288.1)

  7. Step 600

    600

    #744FE9

    oklch(55.6% 0.22 288.1)

  8. Step 700

    700

    #623ECA

    oklch(49.1% 0.204 288.3)

  9. Step 800

    800

    #4F35A3

    oklch(42.6% 0.168 288)

  10. Step 900

    900

    #413082

    oklch(37.7% 0.132 287.9)

  11. Step 950

    950

    #261D4C

    oklch(27% 0.083 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A6FFC 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)#1389FF0.116
Deuteranopia (no green cones)#1682F90.114
Tritanopia (no blue cones)#668EAB0.166
Achromatopsia (no color)#8686860.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6FFC

    #8A6FFC

    oklch(63.8% 0.201 288.1)

  • #949100

    #949100

    oklch(63.8% 0.138 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6FFC

    #8A6FFC

    oklch(63.8% 0.201 288.1)

  • #3387FF

    #3387FF

    oklch(63.7% 0.196 258.2)

  • #BC5AD9

    #BC5AD9

    oklch(63.8% 0.202 317.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A6FFC

    #8A6FFC

    oklch(63.8% 0.201 288.1)

  • #B78000

    #B78000

    oklch(63.9% 0.133 78.4)

  • #42A500

    #42A500

    oklch(63.7% 0.197 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6FFC

    #8A6FFC

    oklch(63.8% 0.201 288.1)

  • #DC6300

    #DC6300

    oklch(63.9% 0.173 48.2)

  • #00A47D

    #00A47D

    oklch(63.8% 0.129 168.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6FFC

    #8A6FFC

    oklch(63.8% 0.201 288.1)

  • #EC465B

    #EC465B

    oklch(63.7% 0.201 18.1)

  • #949100

    #949100

    oklch(63.8% 0.138 108.3)

  • #009FA3

    #009FA3

    oklch(63.8% 0.108 197.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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