#9168D7

Closest named color: Medium Purple (#9370DB). oklch(60.9% 0.165 298.4), rgb(145, 104, 215).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.165)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.16:1
White text4.06:1

Values

HEX#9168D7
RGBrgb(145, 104, 215)
HSLhsl(262, 58%, 63%)
OKLCHoklch(60.9% 0.165 298.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 #9168D7 4.06:1 AA large text Lc -73.1 Content text, not long reading
Black text on #9168D7 5.16:1 AA Lc 36.5 Non-text elements, placeholder text
#9168D7 text on white 4.06:1 AA large text Lc 67.6 Content text, not long reading
#9168D7 text on black 5.16:1 AA Lc -34.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD3F3

    oklch(88.4% 0.045 298.3)

  4. Step 300

    300

    #C7B6EE

    oklch(80.9% 0.08 298.5)

  5. Step 400

    400

    #AB8EE6

    oklch(70.8% 0.129 298.2)

  6. Step 500

    500 (this color)

    #9168D7

    oklch(60.9% 0.165 298.4)

  7. Step 600

    600

    #8354CC

    oklch(55.6% 0.179 298.5)

  8. Step 700

    700

    #6F43B0

    oklch(49% 0.167 298.7)

  9. Step 800

    800

    #5A388F

    oklch(42.7% 0.138 298.3)

  10. Step 900

    900

    #4A3272

    oklch(37.8% 0.107 298.5)

  11. Step 950

    950

    #2B1E43

    oklch(27.1% 0.068 298)

Export this scale for Tailwind in the Tailwind colors tool

#9168D7 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)#3F7EDB0.111
Deuteranopia (no green cones)#4A7DD40.103
Tritanopia (no blue cones)#827E960.129
Achromatopsia (no color)#7E7E7E0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #9168D7

    #9168D7

    oklch(60.9% 0.165 298.4)

  • #7B8E00

    #7B8E00

    oklch(61% 0.143 118.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9168D7

    #9168D7

    oklch(60.9% 0.165 298.4)

  • #5A7AE5

    #5A7AE5

    oklch(60.9% 0.165 268.6)

  • #B659B3

    #B659B3

    oklch(60.9% 0.164 328.6)

Open the analogous palette in the generator

Split complementary

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

  • #9168D7

    #9168D7

    oklch(60.9% 0.165 298.4)

  • #A27E00

    #A27E00

    oklch(61.1% 0.125 88.5)

  • #1C9C45

    #1C9C45

    oklch(60.8% 0.164 148.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9168D7

    #9168D7

    oklch(60.9% 0.165 298.4)

  • #C16900

    #C16900

    oklch(60.9% 0.145 58.6)

  • #009883

    #009883

    oklch(60.8% 0.112 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9168D7

    #9168D7

    oklch(60.9% 0.165 298.4)

  • #D45346

    #D45346

    oklch(61% 0.165 28.6)

  • #7B8E00

    #7B8E00

    oklch(61% 0.143 118.7)

  • #0094A4

    #0094A4

    oklch(61% 0.105 208.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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