#8170FA

Closest named color: Medium Slate Blue (#7B68EE). oklch(63.1% 0.198 284.8), rgb(129, 112, 250).

Aa

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

About this color

#8170FA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.198 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.027 away. Black text reads best on it, at 5.63:1.

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

Values

HEX#8170FA
RGBrgb(129, 112, 250)
HSLhsl(247, 93%, 71%)
OKLCHoklch(63.1% 0.198 284.8)

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 #8170FA 3.72:1 AA large text Lc -70.0 Content text, not long reading
Black text on #8170FA 5.63:1 AA Lc 39.6 Non-text elements, placeholder text
#8170FA text on white 3.72:1 AA large text Lc 64.5 Content text, not long reading
#8170FA text on black 5.63:1 AA Lc -37.1 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D5D5FC

    oklch(88.5% 0.053 285.3)

  4. Step 300

    300

    #B9B8FD

    oklch(80.8% 0.097 284.7)

  5. Step 400

    400

    #9890FC

    oklch(70.7% 0.155 285.1)

  6. Step 500

    500 (this color)

    #8170FA

    oklch(63.1% 0.198 284.8)

  7. Step 600

    600

    #6D53E9

    oklch(55.6% 0.216 284.9)

  8. Step 700

    700

    #5B42CB

    oklch(49.1% 0.201 284.6)

  9. Step 800

    800

    #4A38A4

    oklch(42.7% 0.166 284.5)

  10. Step 900

    900

    #3D3282

    oklch(37.7% 0.129 284.6)

  11. Step 950

    950

    #231E4C

    oklch(26.9% 0.082 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#8170FA 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)#1688FF0.102
Deuteranopia (no green cones)#0780F70.104
Tritanopia (no blue cones)#568FAA0.168
Achromatopsia (no color)#8484840.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #8170FA

    #8170FA

    oklch(63.1% 0.198 284.8)

  • #968D00

    #968D00

    oklch(63.1% 0.134 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8170FA

    #8170FA

    oklch(63.1% 0.198 284.8)

  • #1587FD

    #1587FD

    oklch(63% 0.199 254.9)

  • #B55BDA

    #B55BDA

    oklch(63.1% 0.198 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #8170FA

    #8170FA

    oklch(63.1% 0.198 284.8)

  • #B87B00

    #B87B00

    oklch(63% 0.133 74.4)

  • #54A000

    #54A000

    oklch(63.1% 0.184 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8170FA

    #8170FA

    oklch(63.1% 0.198 284.8)

  • #DE5B00

    #DE5B00

    oklch(63.1% 0.181 44.7)

  • #00A275

    #00A275

    oklch(63.1% 0.133 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8170FA

    #8170FA

    oklch(63.1% 0.198 284.8)

  • #E84562

    #E84562

    oklch(63.1% 0.199 14.9)

  • #968D00

    #968D00

    oklch(63.1% 0.134 105.1)

  • #009D9D

    #009D9D

    oklch(63% 0.108 194.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8170FA.

Similar named colors

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

Use #8170FA 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.