#9162D4

Closest named color: Medium Purple (#9370DB). oklch(59.8% 0.17 300.4), rgb(145, 98, 212).

Aa

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

About this color

#9162D4 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.170 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.033 away. Black text reads best on it, at 4.90:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.170)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text4.90:1
White text4.28:1

Values

HEX#9162D4
RGBrgb(145, 98, 212)
HSLhsl(265, 57%, 61%)
OKLCHoklch(59.8% 0.17 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 #9162D4 4.28:1 AA large text Lc -74.8 Content text, not long reading
Black text on #9162D4 4.90:1 AA Lc 34.8 Non-text elements, placeholder text
#9162D4 text on white 4.28:1 AA large text Lc 69.3 Content text, not long reading
#9162D4 text on black 4.90:1 AA Lc -32.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

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DED3F4

    oklch(88.6% 0.046 300.7)

  4. Step 300

    300

    #C9B5EF

    oklch(81% 0.083 300.3)

  5. Step 400

    400

    #AE8CE7

    oklch(70.7% 0.134 300.2)

  6. Step 500

    500 (this color)

    #9162D4

    oklch(59.8% 0.17 300.4)

  7. Step 600

    600

    #8651CD

    oklch(55.6% 0.185 300.1)

  8. Step 700

    700

    #7241B1

    oklch(49.1% 0.171 300.3)

  9. Step 800

    800

    #5D3690

    oklch(42.7% 0.143 300.4)

  10. Step 900

    900

    #4C3073

    oklch(37.7% 0.112 300.4)

  11. Step 950

    950

    #2C1D43

    oklch(27% 0.07 300)

Export this scale for Tailwind in the Tailwind colors tool

#9162D4 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)#367AD80.122
Deuteranopia (no green cones)#4579D10.112
Tritanopia (no blue cones)#8378920.130
Achromatopsia (no color)#7A7A7A0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #9162D4

    #9162D4

    oklch(59.8% 0.17 300.4)

  • #758B00

    #758B00

    oklch(59.8% 0.142 120.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9162D4

    #9162D4

    oklch(59.8% 0.17 300.4)

  • #5A75E4

    #5A75E4

    oklch(59.8% 0.17 270.3)

  • #B653AE

    #B653AE

    oklch(59.8% 0.17 330.6)

Open the analogous palette in the generator

Split complementary

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

  • #9162D4

    #9162D4

    oklch(59.8% 0.17 300.4)

  • #9B7B00

    #9B7B00

    oklch(59.7% 0.122 90.4)

  • #009947

    #009947

    oklch(59.7% 0.163 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9162D4

    #9162D4

    oklch(59.8% 0.17 300.4)

  • #BA6800

    #BA6800

    oklch(59.8% 0.14 60.5)

  • #009482

    #009482

    oklch(59.7% 0.108 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9162D4

    #9162D4

    oklch(59.8% 0.17 300.4)

  • #D24D3C

    #D24D3C

    oklch(59.8% 0.171 30.1)

  • #758B00

    #758B00

    oklch(59.8% 0.142 120.2)

  • #0090A2

    #0090A2

    oklch(59.9% 0.104 210.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9162D4.

Similar named colors

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

Use #9162D4 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.