#7173AD

Closest named color: Dark Lavender (#856798). oklch(57.8% 0.089 281.7), rgb(113, 115, 173).

Aa

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

About this color

#7173AD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.089 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.047 away. Black text reads best on it, at 4.75:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameDark Lavender (#856798)
Black text4.75:1
White text4.41:1

Values

HEX#7173AD
RGBrgb(113, 115, 173)
HSLhsl(238, 27%, 56%)
OKLCHoklch(57.8% 0.089 281.7)

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 #7173AD 4.41:1 AA large text Lc -76.0 Fine for body text
Black text on #7173AD 4.75:1 AA Lc 33.5 Non-text elements, placeholder text
#7173AD text on white 4.41:1 AA large text Lc 70.6 Content text, not long reading
#7173AD text on black 4.75:1 AA Lc -31.1 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 600.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8E8

    oklch(88.5% 0.022 280.3)

  4. Step 300

    300

    #BCBEDA

    oklch(80.9% 0.039 282.2)

  5. Step 400

    400

    #999CC8

    oklch(70.6% 0.064 281.6)

  6. Step 500

    500

    #8184BA

    oklch(63.2% 0.081 281.4)

  7. Step 600

    600 (this color)

    #7173AD

    oklch(57.8% 0.089 281.7)

  8. Step 700

    700

    #595A8E

    oklch(49% 0.083 282.1)

  9. Step 800

    800

    #494A74

    oklch(42.7% 0.069 282)

  10. Step 900

    900

    #3D3E5D

    oklch(37.7% 0.053 282.1)

  11. Step 950

    950

    #242437

    oklch(26.9% 0.035 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#7173AD 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)#617AAF0.027
Deuteranopia (no green cones)#5E76AC0.026
Tritanopia (no blue cones)#617E880.078
Achromatopsia (no color)#7878780.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #7173AD

    #7173AD

    oklch(57.8% 0.089 281.7)

  • #847B38

    #847B38

    oklch(57.6% 0.089 101.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7173AD

    #7173AD

    oklch(57.8% 0.089 281.7)

  • #517DAD

    #517DAD

    oklch(57.8% 0.089 251.6)

  • #8B6AA0

    #8B6AA0

    oklch(57.7% 0.089 311.7)

Open the analogous palette in the generator

Split complementary

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

  • #7173AD

    #7173AD

    oklch(57.8% 0.089 281.7)

  • #9A713A

    #9A713A

    oklch(57.8% 0.089 72.5)

  • #66854C

    #66854C

    oklch(57.8% 0.089 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7173AD

    #7173AD

    oklch(57.8% 0.089 281.7)

  • #A6674F

    #A6674F

    oklch(57.7% 0.089 41.5)

  • #438A69

    #438A69

    oklch(57.8% 0.089 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7173AD

    #7173AD

    oklch(57.8% 0.089 281.7)

  • #A7636C

    #A7636C

    oklch(57.8% 0.088 11.7)

  • #847B38

    #847B38

    oklch(57.6% 0.089 101.7)

  • #268A87

    #268A87

    oklch(57.8% 0.089 192)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7173AD 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.