#9165DD

Closest named color: Medium Purple (#9370DB). oklch(60.8% 0.177 297.8), rgb(145, 101, 221).

Aa

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

About this color

#9165DD is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.177 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.027 away. Black text reads best on it, at 5.10:1.

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

Values

HEX#9165DD
RGBrgb(145, 101, 221)
HSLhsl(262, 64%, 63%)
OKLCHoklch(60.8% 0.177 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 #9165DD 4.10:1 AA large text Lc -73.4 Content text, not long reading
Black text on #9165DD 5.10:1 AA Lc 36.2 Non-text elements, placeholder text
#9165DD text on white 4.10:1 AA large text Lc 67.9 Content text, not long reading
#9165DD text on black 5.10:1 AA Lc -33.7 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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C7B5F2

    oklch(80.9% 0.087 298)

  5. Step 400

    400

    #AB8CEB

    oklch(70.6% 0.138 297.8)

  6. Step 500

    500 (this color)

    #9165DD

    oklch(60.8% 0.177 297.8)

  7. Step 600

    600

    #8350D3

    oklch(55.5% 0.193 297.7)

  8. Step 700

    700

    #6F40B7

    oklch(49.1% 0.179 297.5)

  9. Step 800

    800

    #5B3694

    oklch(42.8% 0.148 298)

  10. Step 900

    900

    #4A3076

    oklch(37.7% 0.116 297.7)

  11. Step 950

    950

    #2B1D45

    oklch(27% 0.073 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#9165DD 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)#327DE10.122
Deuteranopia (no green cones)#407CDA0.113
Tritanopia (no blue cones)#807D970.138
Achromatopsia (no color)#7D7D7D0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #9165DD

    #9165DD

    oklch(60.8% 0.177 297.8)

  • #7C8D00

    #7C8D00

    oklch(60.8% 0.141 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9165DD

    #9165DD

    oklch(60.8% 0.177 297.8)

  • #5579EB

    #5579EB

    oklch(60.8% 0.176 267.7)

  • #B854B7

    #B854B7

    oklch(60.7% 0.177 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #9165DD

    #9165DD

    oklch(60.8% 0.177 297.8)

  • #A27D00

    #A27D00

    oklch(60.9% 0.124 87.7)

  • #009D3D

    #009D3D

    oklch(60.7% 0.176 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9165DD

    #9165DD

    oklch(60.8% 0.177 297.8)

  • #C16800

    #C16800

    oklch(60.8% 0.146 58)

  • #009882

    #009882

    oklch(60.8% 0.112 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9165DD

    #9165DD

    oklch(60.8% 0.177 297.8)

  • #D84D42

    #D84D42

    oklch(60.8% 0.176 28)

  • #7C8D00

    #7C8D00

    oklch(60.8% 0.141 117.9)

  • #0093A3

    #0093A3

    oklch(60.7% 0.104 208.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9165DD.

Similar named colors

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

Use #9165DD 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.