#9178DB

Closest named color: Medium Purple (#9370DB). oklch(63.9% 0.146 293.5), rgb(145, 120, 219).

Aa

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

About this color

#9178DB is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.146 and its hue 293°. 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.91:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.146)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.91:1
White text3.55:1

Values

HEX#9178DB
RGBrgb(145, 120, 219)
HSLhsl(255, 58%, 66%)
OKLCHoklch(63.9% 0.146 293.5)

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 #9178DB 3.55:1 AA large text Lc -68.4 Content text, not long reading
Black text on #9178DB 5.91:1 AA Lc 41.1 Non-text elements, placeholder text
#9178DB text on white 3.55:1 AA large text Lc 62.9 Content text, not long reading
#9178DB text on black 5.91:1 AA Lc -38.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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #DAD5F2

    oklch(88.6% 0.04 293.5)

  4. Step 300

    300

    #C2B8EB

    oklch(80.8% 0.072 293.7)

  5. Step 400

    400

    #A492E1

    oklch(70.6% 0.115 293.7)

  6. Step 500

    500 (this color)

    #9178DB

    oklch(63.9% 0.146 293.5)

  7. Step 600

    600

    #7A5CC6

    oklch(55.6% 0.159 293.6)

  8. Step 700

    700

    #674BAB

    oklch(49.1% 0.148 293.7)

  9. Step 800

    800

    #533E8A

    oklch(42.6% 0.122 293.3)

  10. Step 900

    900

    #45366F

    oklch(37.8% 0.095 293.5)

  11. Step 950

    950

    #282041

    oklch(27% 0.06 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#9178DB 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)#5789DF0.081
Deuteranopia (no green cones)#5B86D90.077
Tritanopia (no blue cones)#808B9F0.119
Achromatopsia (no color)#8888880.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #9178DB

    #9178DB

    oklch(63.9% 0.146 293.5)

  • #8C9400

    #8C9400

    oklch(63.8% 0.143 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9178DB

    #9178DB

    oklch(63.9% 0.146 293.5)

  • #5D88E4

    #5D88E4

    oklch(63.9% 0.146 263.8)

  • #B66ABE

    #B66ABE

    oklch(63.9% 0.146 323.6)

Open the analogous palette in the generator

Split complementary

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

  • #9178DB

    #9178DB

    oklch(63.9% 0.146 293.5)

  • #B28300

    #B28300

    oklch(63.9% 0.131 83.1)

  • #4EA24D

    #4EA24D

    oklch(64% 0.146 143.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9178DB

    #9178DB

    oklch(63.9% 0.146 293.5)

  • #CE6F24

    #CE6F24

    oklch(63.9% 0.146 53.6)

  • #00A385

    #00A385

    oklch(63.8% 0.122 173.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9178DB

    #9178DB

    oklch(63.9% 0.146 293.5)

  • #D66360

    #D66360

    oklch(63.9% 0.146 23.6)

  • #8C9400

    #8C9400

    oklch(63.8% 0.143 113.6)

  • #009FAA

    #009FAA

    oklch(64% 0.109 203.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9178DB.

Similar named colors

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

Use #9178DB 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.