#8168D9

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.6% 0.166 290.6), rgb(129, 104, 217).

Aa

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

About this color

#8168D9 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.166 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.033 away. Black text reads best on it, at 4.91:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.166)
Temperaturein between
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.91:1
White text4.27:1

Values

HEX#8168D9
RGBrgb(129, 104, 217)
HSLhsl(253, 60%, 63%)
OKLCHoklch(59.6% 0.166 290.6)

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 #8168D9 4.27:1 AA large text Lc -74.8 Content text, not long reading
Black text on #8168D9 4.91:1 AA Lc 34.8 Non-text elements, placeholder text
#8168D9 text on white 4.27:1 AA large text Lc 69.3 Content text, not long reading
#8168D9 text on black 4.91:1 AA Lc -32.4 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

    #E9E7F9

    oklch(93.5% 0.024 291)

  3. Step 200

    200

    #D8D5F6

    oklch(88.6% 0.045 289.6)

  4. Step 300

    300

    #C0B8F2

    oklch(80.9% 0.081 290.8)

  5. Step 400

    400

    #A191EB

    oklch(70.7% 0.13 290.9)

  6. Step 500

    500 (this color)

    #8168D9

    oklch(59.6% 0.166 290.6)

  7. Step 600

    600

    #7758D3

    oklch(55.6% 0.181 290.9)

  8. Step 700

    700

    #6447B7

    oklch(49.1% 0.169 290.8)

  9. Step 800

    800

    #513B94

    oklch(42.6% 0.14 290.6)

  10. Step 900

    900

    #433476

    oklch(37.7% 0.109 290.7)

  11. Step 950

    950

    #271F45

    oklch(27% 0.069 290.8)

Export this scale for Tailwind in the Tailwind colors tool

#8168D9 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)#367CDD0.095
Deuteranopia (no green cones)#3978D60.092
Tritanopia (no blue cones)#6980970.137
Achromatopsia (no color)#7A7A7A0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #8168D9

    #8168D9

    oklch(59.6% 0.166 290.6)

  • #838500

    #838500

    oklch(59.5% 0.131 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8168D9

    #8168D9

    oklch(59.6% 0.166 290.6)

  • #417BE0

    #417BE0

    oklch(59.6% 0.166 260.6)

  • #AA58BA

    #AA58BA

    oklch(59.6% 0.166 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #8168D9

    #8168D9

    oklch(59.6% 0.166 290.6)

  • #A47500

    #A47500

    oklch(59.4% 0.123 80.5)

  • #3C962B

    #3C962B

    oklch(59.7% 0.167 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8168D9

    #8168D9

    oklch(59.6% 0.166 290.6)

  • #C55D00

    #C55D00

    oklch(59.6% 0.156 50.7)

  • #009575

    #009575

    oklch(59.6% 0.117 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8168D9

    #8168D9

    oklch(59.6% 0.166 290.6)

  • #CF4C53

    #CF4C53

    oklch(59.6% 0.166 20.6)

  • #838500

    #838500

    oklch(59.5% 0.131 110.8)

  • #009097

    #009097

    oklch(59.4% 0.101 200.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8168D9 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.