#C172E2

Closest named color: Light Purple (#BF77F6). oklch(68.1% 0.176 315.2), rgb(193, 114, 226).

Aa

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

About this color

#C172E2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.176 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.77:1.

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

Values

HEX#C172E2
RGBrgb(193, 114, 226)
HSLhsl(282, 66%, 67%)
OKLCHoklch(68.1% 0.176 315.2)

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 #C172E2 3.10:1 AA large text Lc -63.0 Content text, not long reading
Black text on #C172E2 6.77:1 AA Lc 46.4 Large or bold text, headings
#C172E2 text on white 3.10:1 AA large text Lc 57.6 Large or bold text, headings
#C172E2 text on black 6.77:1 AA Lc -44.1 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

    #DCABF2

    oklch(81% 0.111 315.1)

  5. Step 400

    400 (this color)

    #C172E2

    oklch(68.1% 0.176 315.2)

  6. Step 500

    500

    #BB50E4

    oklch(63.1% 0.226 315.2)

  7. Step 600

    600

    #A629D2

    oklch(55.6% 0.245 315)

  8. Step 700

    700

    #8F17B6

    oklch(49.2% 0.228 315.2)

  9. Step 800

    800

    #741993

    oklch(42.7% 0.189 315.3)

  10. Step 900

    900

    #5E1E75

    oklch(37.7% 0.147 315.5)

  11. Step 950

    950

    #371445

    oklch(27.1% 0.093 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#C172E2 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)#5A8EE60.153
Deuteranopia (no green cones)#7295DF0.137
Tritanopia (no blue cones)#BF83A00.117
Achromatopsia (no color)#9292920.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #C172E2

    #C172E2

    oklch(68.1% 0.176 315.2)

  • #65AF2F

    #65AF2F

    oklch(68.1% 0.175 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C172E2

    #C172E2

    oklch(68.1% 0.176 315.2)

  • #9084FF

    #9084FF

    oklch(68.1% 0.176 285.1)

  • #E165B1

    #E165B1

    oklch(68.1% 0.176 345)

Open the analogous palette in the generator

Split complementary

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

  • #C172E2

    #C172E2

    oklch(68.1% 0.176 315.2)

  • #A69D00

    #A69D00

    oklch(68.2% 0.145 105.5)

  • #00B483

    #00B483

    oklch(68.2% 0.143 165.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C172E2

    #C172E2

    oklch(68.1% 0.176 315.2)

  • #CB8A00

    #CB8A00

    oklch(68.2% 0.143 75.6)

  • #00AFAF

    #00AFAF

    oklch(68.3% 0.117 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C172E2

    #C172E2

    oklch(68.1% 0.176 315.2)

  • #EE6E27

    #EE6E27

    oklch(68.3% 0.177 45.3)

  • #65AF2F

    #65AF2F

    oklch(68.1% 0.175 135)

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

Similar named colors

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

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