#8168CD

Closest named color: Medium Purple (#9370DB). oklch(58.8% 0.15 292.6), rgb(129, 104, 205).

Aa

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

About this color

#8168CD is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.150 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.041 away. Black text reads best on it, at 4.79:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.150)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text4.79:1
White text4.37:1

Values

HEX#8168CD
RGBrgb(129, 104, 205)
HSLhsl(255, 50%, 61%)
OKLCHoklch(58.8% 0.15 292.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 #8168CD 4.37:1 AA large text Lc -75.6 Fine for body text
Black text on #8168CD 4.79:1 AA Lc 33.9 Non-text elements, placeholder text
#8168CD text on white 4.37:1 AA large text Lc 70.2 Content text, not long reading
#8168CD text on black 4.79:1 AA Lc -31.5 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C1B9E9

    oklch(80.8% 0.068 292.5)

  5. Step 400

    400

    #A394DE

    oklch(70.8% 0.107 292.7)

  6. Step 500

    500

    #8D77D5

    oklch(63% 0.139 292.7)

  7. Step 600

    600 (this color)

    #8168CD

    oklch(58.8% 0.15 292.6)

  8. Step 700

    700

    #654DA8

    oklch(49.1% 0.14 292.6)

  9. Step 800

    800

    #524088

    oklch(42.7% 0.116 292.3)

  10. Step 900

    900

    #44376D

    oklch(37.8% 0.09 292.6)

  11. Step 950

    950

    #282040

    oklch(27% 0.059 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#8168CD 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)#427AD10.086
Deuteranopia (no green cones)#4677CB0.082
Tritanopia (no blue cones)#6E7C910.122
Achromatopsia (no color)#7979790.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #8168CD

    #8168CD

    oklch(58.8% 0.15 292.6)

  • #7E8400

    #7E8400

    oklch(58.8% 0.131 112.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8168CD

    #8168CD

    oklch(58.8% 0.15 292.6)

  • #4A79D5

    #4A79D5

    oklch(58.9% 0.15 262.4)

  • #A65AB0

    #A65AB0

    oklch(58.9% 0.15 322.8)

Open the analogous palette in the generator

Split complementary

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

  • #8168CD

    #8168CD

    oklch(58.8% 0.15 292.6)

  • #A07400

    #A07400

    oklch(58.8% 0.121 82)

  • #3D9239

    #3D9239

    oklch(58.8% 0.15 142.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8168CD

    #8168CD

    oklch(58.8% 0.15 292.6)

  • #BF5E00

    #BF5E00

    oklch(58.9% 0.15 52.9)

  • #009276

    #009276

    oklch(58.8% 0.113 172.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8168CD

    #8168CD

    oklch(58.8% 0.15 292.6)

  • #C65152

    #C65152

    oklch(58.8% 0.15 22.4)

  • #7E8400

    #7E8400

    oklch(58.8% 0.131 112.9)

  • #008E97

    #008E97

    oklch(58.9% 0.1 202.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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