#C171BF

Closest named color: Pale Magenta (#D767AD). oklch(66.3% 0.142 327.9), rgb(193, 113, 191).

Aa

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

About this color

#C171BF is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.142 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.047 away. Black text reads best on it, at 6.38:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.142)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text6.38:1
White text3.29:1

Values

HEX#C171BF
RGBrgb(193, 113, 191)
HSLhsl(302, 39%, 60%)
OKLCHoklch(66.3% 0.142 327.9)

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 #C171BF 3.29:1 AA large text Lc -65.4 Content text, not long reading
Black text on #C171BF 6.38:1 AA Lc 44.1 Non-text elements, placeholder text
#C171BF text on white 3.29:1 AA large text Lc 60.0 Large or bold text, headings
#C171BF text on black 6.38:1 AA Lc -41.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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E8D1E6

    oklch(88.6% 0.038 328.6)

  4. Step 300

    300

    #DAB1D8

    oklch(80.9% 0.07 327.8)

  5. Step 400

    400

    #C687C4

    oklch(70.7% 0.112 327.8)

  6. Step 500

    500 (this color)

    #C171BF

    oklch(66.3% 0.142 327.9)

  7. Step 600

    600

    #A24DA0

    oklch(55.7% 0.154 328.3)

  8. Step 700

    700

    #8A3D89

    oklch(49.1% 0.144 328)

  9. Step 800

    800

    #70336F

    oklch(42.6% 0.118 328)

  10. Step 900

    900

    #5B2D5A

    oklch(37.6% 0.093 328)

  11. Step 950

    950

    #351B35

    oklch(26.9% 0.059 327.1)

Export this scale for Tailwind in the Tailwind colors tool

#C171BF 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)#6B87C20.136
Deuteranopia (no green cones)#8191BC0.122
Tritanopia (no blue cones)#C6788F0.080
Achromatopsia (no color)#8E8E8E0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #C171BF

    #C171BF

    oklch(66.3% 0.142 327.9)

  • #4CAA5F

    #4CAA5F

    oklch(66.2% 0.141 148.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C171BF

    #C171BF

    oklch(66.3% 0.142 327.9)

  • #9E7EDE

    #9E7EDE

    oklch(66.3% 0.142 297.8)

  • #D66A93

    #D66A93

    oklch(66.3% 0.142 357.7)

Open the analogous palette in the generator

Split complementary

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

  • #C171BF

    #C171BF

    oklch(66.3% 0.142 327.9)

  • #8C9E23

    #8C9E23

    oklch(66.3% 0.142 117.9)

  • #00AB93

    #00AB93

    oklch(66.3% 0.122 177.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C171BF

    #C171BF

    oklch(66.3% 0.142 327.9)

  • #B68D00

    #B68D00

    oklch(66.4% 0.136 87.9)

  • #00A6B7

    #00A6B7

    oklch(66.3% 0.114 207.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C171BF

    #C171BF

    oklch(66.3% 0.142 327.9)

  • #D27A29

    #D27A29

    oklch(66.3% 0.142 58.1)

  • #4CAA5F

    #4CAA5F

    oklch(66.2% 0.141 148.1)

  • #169EDF

    #169EDF

    oklch(66.4% 0.142 237.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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