#C172E1

Closest named color: Light Purple (#BF77F6). oklch(68.1% 0.175 315.5), rgb(193, 114, 225).

Aa

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

About this color

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

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

Values

HEX#C172E1
RGBrgb(193, 114, 225)
HSLhsl(283, 65%, 66%)
OKLCHoklch(68.1% 0.175 315.5)

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 #C172E1 3.10:1 AA large text Lc -63.1 Content text, not long reading
Black text on #C172E1 6.76:1 AA Lc 46.3 Large or bold text, headings
#C172E1 text on white 3.10:1 AA large text Lc 57.7 Large or bold text, headings
#C172E1 text on black 6.76: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CEF5

    oklch(88.6% 0.06 315.5)

  4. Step 300

    300

    #DCABF1

    oklch(80.9% 0.109 315.5)

  5. Step 400

    400 (this color)

    #C172E1

    oklch(68.1% 0.175 315.5)

  6. Step 500

    500

    #BB51E3

    oklch(63.2% 0.223 315.4)

  7. Step 600

    600

    #A72AD1

    oklch(55.7% 0.243 315.5)

  8. Step 700

    700

    #8F18B5

    oklch(49.2% 0.226 315.5)

  9. Step 800

    800

    #741A92

    oklch(42.7% 0.187 315.6)

  10. Step 900

    900

    #5E1F75

    oklch(37.8% 0.146 315.4)

  11. Step 950

    950

    #371444

    oklch(27% 0.092 315.7)

Export this scale for Tailwind in the Tailwind colors tool

#C172E1 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)#5B8DE50.152
Deuteranopia (no green cones)#7294DE0.136
Tritanopia (no blue cones)#BF839F0.117
Achromatopsia (no color)#9292920.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #C172E1

    #C172E1

    oklch(68.1% 0.175 315.5)

  • #64AF31

    #64AF31

    oklch(68% 0.175 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C172E1

    #C172E1

    oklch(68.1% 0.175 315.5)

  • #9184FE

    #9184FE

    oklch(68.1% 0.175 285.6)

  • #E165B0

    #E165B0

    oklch(68.1% 0.175 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #C172E1

    #C172E1

    oklch(68.1% 0.175 315.5)

  • #A69D00

    #A69D00

    oklch(68.2% 0.145 105.5)

  • #00B383

    #00B383

    oklch(68% 0.142 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C172E1

    #C172E1

    oklch(68.1% 0.175 315.5)

  • #CB8A00

    #CB8A00

    oklch(68.2% 0.143 75.6)

  • #00AEAF

    #00AEAF

    oklch(68% 0.116 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C172E1

    #C172E1

    oklch(68.1% 0.175 315.5)

  • #ED6E27

    #ED6E27

    oklch(68.1% 0.176 45.5)

  • #64AF31

    #64AF31

    oklch(68% 0.175 135.4)

  • #00A8D5

    #00A8D5

    oklch(68.1% 0.13 225.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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