#9168DA

Closest named color: Medium Purple (#9370DB). oklch(61.1% 0.169 297.8), rgb(145, 104, 218).

Aa

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

About this color

#9168DA is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.169 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.019 away. Black text reads best on it, at 5.19:1.

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

Values

HEX#9168DA
RGBrgb(145, 104, 218)
HSLhsl(262, 61%, 63%)
OKLCHoklch(61.1% 0.169 297.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 #9168DA 4.04:1 AA large text Lc -72.9 Content text, not long reading
Black text on #9168DA 5.19:1 AA Lc 36.7 Non-text elements, placeholder text
#9168DA text on white 4.04:1 AA large text Lc 67.4 Content text, not long reading
#9168DA text on black 5.19:1 AA Lc -34.3 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

    #DCD3F4

    oklch(88.4% 0.046 297.9)

  4. Step 300

    300

    #C6B6F0

    oklch(80.9% 0.082 297.2)

  5. Step 400

    400

    #AB8DE8

    oklch(70.7% 0.133 298.1)

  6. Step 500

    500 (this color)

    #9168DA

    oklch(61.1% 0.169 297.8)

  7. Step 600

    600

    #8253CF

    oklch(55.6% 0.184 297.6)

  8. Step 700

    700

    #6E43B3

    oklch(49.1% 0.17 297.4)

  9. Step 800

    800

    #5A3891

    oklch(42.8% 0.141 297.7)

  10. Step 900

    900

    #493173

    oklch(37.6% 0.11 297.7)

  11. Step 950

    950

    #2B1D44

    oklch(27% 0.071 298)

Export this scale for Tailwind in the Tailwind colors tool

#9168DA 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)#3C7FDE0.114
Deuteranopia (no green cones)#477DD70.106
Tritanopia (no blue cones)#817E970.132
Achromatopsia (no color)#7E7E7E0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #9168DA

    #9168DA

    oklch(61.1% 0.169 297.8)

  • #7D8E00

    #7D8E00

    oklch(61.2% 0.142 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9168DA

    #9168DA

    oklch(61.1% 0.169 297.8)

  • #587BE8

    #587BE8

    oklch(61.2% 0.169 267.8)

  • #B758B6

    #B758B6

    oklch(61% 0.169 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #9168DA

    #9168DA

    oklch(61.1% 0.169 297.8)

  • #A37E00

    #A37E00

    oklch(61.2% 0.125 87.9)

  • #1B9D42

    #1B9D42

    oklch(61% 0.168 147.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9168DA

    #9168DA

    oklch(61.1% 0.169 297.8)

  • #C36900

    #C36900

    oklch(61.2% 0.147 57.9)

  • #009983

    #009983

    oklch(61.1% 0.113 177.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9168DA

    #9168DA

    oklch(61.1% 0.169 297.8)

  • #D65247

    #D65247

    oklch(61.2% 0.168 27.8)

  • #7D8E00

    #7D8E00

    oklch(61.2% 0.142 117.9)

  • #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 #9168DA, closest first.

No curated palette has a color within ΔE 0.04 of #9168DA.

Similar named colors

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

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