#C171E2

Closest named color: Light Purple (#BF77F6). oklch(68% 0.178 315.3), rgb(193, 113, 226).

Aa

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

About this color

#C171E2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.178 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.030 away. Black text reads best on it, at 6.72:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.178)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.72:1
White text3.12:1

Values

HEX#C171E2
RGBrgb(193, 113, 226)
HSLhsl(282, 66%, 66%)
OKLCHoklch(68% 0.178 315.3)

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 #C171E2 3.12:1 AA large text Lc -63.3 Content text, not long reading
Black text on #C171E2 6.72:1 AA Lc 46.2 Large or bold text, headings
#C171E2 text on white 3.12:1 AA large text Lc 57.9 Large or bold text, headings
#C171E2 text on black 6.72:1 AA Lc -43.9 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 400.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CDF6

    oklch(88.4% 0.063 315.1)

  4. Step 300

    300

    #DCABF2

    oklch(81% 0.111 315.1)

  5. Step 400

    400 (this color)

    #C171E2

    oklch(68% 0.178 315.3)

  6. Step 500

    500

    #BB4FE5

    oklch(63% 0.228 315.1)

  7. Step 600

    600

    #A727D2

    oklch(55.6% 0.247 315.4)

  8. Step 700

    700

    #8F14B6

    oklch(49.1% 0.23 315.3)

  9. Step 800

    800

    #741894

    oklch(42.7% 0.19 315)

  10. Step 900

    900

    #5E1E76

    oklch(37.8% 0.148 315.1)

  11. Step 950

    950

    #371345

    oklch(26.9% 0.095 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#C171E2 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)#598DE60.155
Deuteranopia (no green cones)#7194DF0.138
Tritanopia (no blue cones)#BF829F0.118
Achromatopsia (no color)#9292920.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #C171E2

    #C171E2

    oklch(68% 0.178 315.3)

  • #63AF2D

    #63AF2D

    oklch(67.9% 0.178 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C171E2

    #C171E2

    oklch(68% 0.178 315.3)

  • #9084FF

    #9084FF

    oklch(68.1% 0.176 285.1)

  • #E264B1

    #E264B1

    oklch(68.1% 0.178 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #C171E2

    #C171E2

    oklch(68% 0.178 315.3)

  • #A69C00

    #A69C00

    oklch(68% 0.144 105)

  • #00B382

    #00B382

    oklch(67.9% 0.143 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C171E2

    #C171E2

    oklch(68% 0.178 315.3)

  • #CB8900

    #CB8900

    oklch(68% 0.143 74.9)

  • #00AEAF

    #00AEAF

    oklch(68% 0.116 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C171E2

    #C171E2

    oklch(68% 0.178 315.3)

  • #EE6D24

    #EE6D24

    oklch(68.1% 0.178 45.4)

  • #63AF2D

    #63AF2D

    oklch(67.9% 0.178 135.3)

  • #00A8D4

    #00A8D4

    oklch(68.1% 0.129 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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