#D172D4

Closest named color: Orchid (#DA70D6). oklch(69.3% 0.171 326.1), rgb(209, 114, 212).

Aa

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

About this color

#D172D4 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.171 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.016 away. Black text reads best on it, at 7.06:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.171)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.06:1
White text2.97:1

Values

HEX#D172D4
RGBrgb(209, 114, 212)
HSLhsl(298, 53%, 64%)
OKLCHoklch(69.3% 0.171 326.1)

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 #D172D4 2.97:1 Fails Lc -61.2 Content text, not long reading
Black text on #D172D4 7.06:1 AAA Lc 48.1 Large or bold text, headings
#D172D4 text on white 2.97:1 Fails Lc 55.9 Large or bold text, headings
#D172D4 text on black 7.06:1 AAA Lc -45.9 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EECCEE

    oklch(88.4% 0.059 326.1)

  4. Step 300

    300

    #E5A8E6

    oklch(80.8% 0.108 326)

  5. Step 400

    400 (this color)

    #D172D4

    oklch(69.3% 0.171 326.1)

  6. Step 500

    500

    #C94CCE

    oklch(63.2% 0.218 326.2)

  7. Step 600

    600

    #B422BB

    oklch(55.6% 0.237 326)

  8. Step 700

    700

    #9A0FA1

    oklch(49.1% 0.22 325.9)

  9. Step 800

    800

    #7D1482

    oklch(42.6% 0.182 326.1)

  10. Step 900

    900

    #651C69

    oklch(37.7% 0.142 325.7)

  11. Step 950

    950

    #3C123D

    oklch(27% 0.09 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#D172D4 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)#688ED70.164
Deuteranopia (no green cones)#849AD10.146
Tritanopia (no blue cones)#D67D990.100
Achromatopsia (no color)#9696960.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #D172D4

    #D172D4

    oklch(69.3% 0.171 326.1)

  • #46B756

    #46B756

    oklch(69.3% 0.17 146)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D172D4

    #D172D4

    oklch(69.3% 0.171 326.1)

  • #A782F9

    #A782F9

    oklch(69.3% 0.171 296)

  • #EB689F

    #EB689F

    oklch(69.2% 0.171 356.2)

Open the analogous palette in the generator

Split complementary

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

  • #D172D4

    #D172D4

    oklch(69.3% 0.171 326.1)

  • #98A700

    #98A700

    oklch(69.3% 0.158 116)

  • #00B699

    #00B699

    oklch(69.3% 0.13 175.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D172D4

    #D172D4

    oklch(69.3% 0.171 326.1)

  • #C39400

    #C39400

    oklch(69.2% 0.142 85.8)

  • #00B1C0

    #00B1C0

    oklch(69.4% 0.119 205.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D172D4

    #D172D4

    oklch(69.3% 0.171 326.1)

  • #E97B00

    #E97B00

    oklch(69.4% 0.17 56.1)

  • #46B756

    #46B756

    oklch(69.3% 0.17 146)

  • #00A8EC

    #00A8EC

    oklch(69.2% 0.15 236.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #D172D4 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.