#9168CE

Closest named color: Medium Purple (#9370DB). oklch(60.4% 0.154 300.4), rgb(145, 104, 206).

Aa

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

About this color

#9168CE is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.154 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.026 away. Black text reads best on it, at 5.07:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.154)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.07:1
White text4.13:1

Values

HEX#9168CE
RGBrgb(145, 104, 206)
HSLhsl(264, 51%, 61%)
OKLCHoklch(60.4% 0.154 300.4)

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 #9168CE 4.13:1 AA large text Lc -73.7 Content text, not long reading
Black text on #9168CE 5.07:1 AA Lc 35.8 Non-text elements, placeholder text
#9168CE text on white 4.13:1 AA large text Lc 68.2 Content text, not long reading
#9168CE text on black 5.07:1 AA Lc -33.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DDD3F1

    oklch(88.4% 0.042 300.7)

  4. Step 300

    300

    #C8B6EA

    oklch(80.9% 0.075 300.6)

  5. Step 400

    400

    #AD8EE0

    oklch(70.6% 0.121 300.7)

  6. Step 500

    500 (this color)

    #9168CE

    oklch(60.4% 0.154 300.4)

  7. Step 600

    600

    #8456C4

    oklch(55.5% 0.166 300.4)

  8. Step 700

    700

    #7046AA

    oklch(49.2% 0.155 300.1)

  9. Step 800

    800

    #5B3A89

    oklch(42.7% 0.128 300.3)

  10. Step 900

    900

    #4B336E

    oklch(37.8% 0.1 300.5)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#9168CE 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)#477CD20.105
Deuteranopia (no green cones)#517CCC0.097
Tritanopia (no blue cones)#857B910.119
Achromatopsia (no color)#7D7D7D0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #9168CE

    #9168CE

    oklch(60.4% 0.154 300.4)

  • #768D00

    #768D00

    oklch(60.4% 0.144 120.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9168CE

    #9168CE

    oklch(60.4% 0.154 300.4)

  • #5F79DC

    #5F79DC

    oklch(60.4% 0.153 270.2)

  • #B35BAC

    #B35BAC

    oklch(60.5% 0.153 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #9168CE

    #9168CE

    oklch(60.4% 0.154 300.4)

  • #9E7D00

    #9E7D00

    oklch(60.4% 0.123 90.1)

  • #1F9A4D

    #1F9A4D

    oklch(60.4% 0.154 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9168CE

    #9168CE

    oklch(60.4% 0.154 300.4)

  • #BC6900

    #BC6900

    oklch(60.3% 0.141 60.4)

  • #009684

    #009684

    oklch(60.3% 0.109 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9168CE

    #9168CE

    oklch(60.4% 0.154 300.4)

  • #CD5746

    #CD5746

    oklch(60.5% 0.154 30.4)

  • #768D00

    #768D00

    oklch(60.4% 0.144 120.5)

  • #0092A4

    #0092A4

    oklch(60.5% 0.105 210)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9168CE 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.