#9165DE

Closest named color: Medium Purple (#9370DB). oklch(60.9% 0.178 297.6), rgb(145, 101, 222).

Aa

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

About this color

#9165DE is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.178 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.12:1.

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

Values

HEX#9165DE
RGBrgb(145, 101, 222)
HSLhsl(262, 65%, 63%)
OKLCHoklch(60.9% 0.178 297.6)

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 #9165DE 4.10:1 AA large text Lc -73.4 Content text, not long reading
Black text on #9165DE 5.12:1 AA Lc 36.2 Non-text elements, placeholder text
#9165DE text on white 4.10:1 AA large text Lc 67.9 Content text, not long reading
#9165DE text on black 5.12:1 AA Lc -33.8 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  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

    #AB8CEC

    oklch(70.7% 0.14 297.6)

  6. Step 500

    500 (this color)

    #9165DE

    oklch(60.9% 0.178 297.6)

  7. Step 600

    600

    #8350D4

    oklch(55.6% 0.194 297.5)

  8. Step 700

    700

    #6F40B7

    oklch(49.1% 0.179 297.5)

  9. Step 800

    800

    #5A3594

    oklch(42.6% 0.149 297.6)

  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

#9165DE 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)#317EE20.123
Deuteranopia (no green cones)#3F7CDB0.114
Tritanopia (no blue cones)#807D980.138
Achromatopsia (no color)#7D7D7D0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #9165DE

    #9165DE

    oklch(60.9% 0.178 297.6)

  • #7D8D00

    #7D8D00

    oklch(60.9% 0.141 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9165DE

    #9165DE

    oklch(60.9% 0.178 297.6)

  • #5479EC

    #5479EC

    oklch(60.8% 0.178 267.5)

  • #B954B8

    #B954B8

    oklch(60.9% 0.179 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #9165DE

    #9165DE

    oklch(60.9% 0.178 297.6)

  • #A27D00

    #A27D00

    oklch(60.9% 0.124 87.7)

  • #009E3C

    #009E3C

    oklch(61% 0.178 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9165DE

    #9165DE

    oklch(60.9% 0.178 297.6)

  • #C26800

    #C26800

    oklch(60.9% 0.146 57.6)

  • #009882

    #009882

    oklch(60.8% 0.112 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9165DE

    #9165DE

    oklch(60.9% 0.178 297.6)

  • #D94C42

    #D94C42

    oklch(60.9% 0.179 27.7)

  • #7D8D00

    #7D8D00

    oklch(60.9% 0.141 117.5)

  • #0094A3

    #0094A3

    oklch(60.9% 0.105 207.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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