#C171E4

Closest named color: Light Purple (#BF77F6). oklch(68.1% 0.18 314.7), rgb(193, 113, 228).

Aa

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

About this color

#C171E4 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.180 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.028 away. Black text reads best on it, at 6.74:1.

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

Values

HEX#C171E4
RGBrgb(193, 113, 228)
HSLhsl(282, 68%, 67%)
OKLCHoklch(68.1% 0.18 314.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 #C171E4 3.11:1 AA large text Lc -63.1 Content text, not long reading
Black text on #C171E4 6.74:1 AA Lc 46.3 Large or bold text, headings
#C171E4 text on white 3.11:1 AA large text Lc 57.8 Large or bold text, headings
#C171E4 text on black 6.74:1 AA Lc -44.0 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  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

    #DCABF3

    oklch(81% 0.112 314.7)

  5. Step 400

    400 (this color)

    #C171E4

    oklch(68.1% 0.18 314.7)

  6. Step 500

    500

    #BB4FE7

    oklch(63.2% 0.23 314.6)

  7. Step 600

    600

    #A725D5

    oklch(55.7% 0.251 314.7)

  8. Step 700

    700

    #8F12B8

    oklch(49.1% 0.232 314.8)

  9. Step 800

    800

    #741695

    oklch(42.7% 0.193 314.7)

  10. Step 900

    900

    #5E1D77

    oklch(37.7% 0.151 314.7)

  11. Step 950

    950

    #371346

    oklch(27% 0.096 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#C171E4 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)#578DE80.156
Deuteranopia (no green cones)#7094E10.139
Tritanopia (no blue cones)#BF83A00.121
Achromatopsia (no color)#9292920.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #C171E4

    #C171E4

    oklch(68.1% 0.18 314.7)

  • #65AF28

    #65AF28

    oklch(68% 0.179 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C171E4

    #C171E4

    oklch(68.1% 0.18 314.7)

  • #8F85FF

    #8F85FF

    oklch(68.2% 0.175 284.5)

  • #E263B2

    #E263B2

    oklch(68% 0.18 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #C171E4

    #C171E4

    oklch(68.1% 0.18 314.7)

  • #A79C00

    #A79C00

    oklch(68.1% 0.144 104.5)

  • #00B482

    #00B482

    oklch(68.2% 0.144 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C171E4

    #C171E4

    oklch(68.1% 0.18 314.7)

  • #CC8900

    #CC8900

    oklch(68.1% 0.144 74.5)

  • #00AEAE

    #00AEAE

    oklch(68% 0.116 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C171E4

    #C171E4

    oklch(68.1% 0.18 314.7)

  • #EF6C24

    #EF6C24

    oklch(68.1% 0.18 44.8)

  • #65AF28

    #65AF28

    oklch(68% 0.179 134.5)

  • #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 #C171E4, closest first.

Similar named colors

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

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