#C170E2

Closest named color: Light Purple (#BF77F6). oklch(67.9% 0.18 315.4), rgb(193, 112, 226).

Aa

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

About this color

#C170E2 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.031 away. Black text reads best on it, at 6.68:1.

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

Values

HEX#C170E2
RGBrgb(193, 112, 226)
HSLhsl(283, 66%, 66%)
OKLCHoklch(67.9% 0.18 315.4)

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 #C170E2 3.14:1 AA large text Lc -63.5 Content text, not long reading
Black text on #C170E2 6.68:1 AA Lc 45.9 Large or bold text, headings
#C170E2 text on white 3.14:1 AA large text Lc 58.1 Large or bold text, headings
#C170E2 text on black 6.68:1 AA Lc -43.6 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

    #DCAAF2

    oklch(80.8% 0.112 315.3)

  5. Step 400

    400 (this color)

    #C170E2

    oklch(67.9% 0.18 315.4)

  6. Step 500

    500

    #BC4EE5

    oklch(63.1% 0.23 315.5)

  7. Step 600

    600

    #A825D3

    oklch(55.7% 0.249 315.5)

  8. Step 700

    700

    #9011B7

    oklch(49.2% 0.232 315.5)

  9. Step 800

    800

    #751694

    oklch(42.8% 0.192 315.5)

  10. Step 900

    900

    #5E1D76

    oklch(37.7% 0.15 315.2)

  11. Step 950

    950

    #371345

    oklch(26.9% 0.095 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#C170E2 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)#578CE60.157
Deuteranopia (no green cones)#7094DF0.141
Tritanopia (no blue cones)#BF819F0.118
Achromatopsia (no color)#9191910.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170E2

    #C170E2

    oklch(67.9% 0.18 315.4)

  • #62AF2B

    #62AF2B

    oklch(67.9% 0.179 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170E2

    #C170E2

    oklch(67.9% 0.18 315.4)

  • #9083FF

    #9083FF

    oklch(67.9% 0.178 285.4)

  • #E263B0

    #E263B0

    oklch(67.9% 0.179 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #C170E2

    #C170E2

    oklch(67.9% 0.18 315.4)

  • #A59C00

    #A59C00

    oklch(67.9% 0.144 105.5)

  • #00B382

    #00B382

    oklch(67.9% 0.143 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170E2

    #C170E2

    oklch(67.9% 0.18 315.4)

  • #CA8900

    #CA8900

    oklch(67.9% 0.143 75.4)

  • #00ADAE

    #00ADAE

    oklch(67.7% 0.115 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170E2

    #C170E2

    oklch(67.9% 0.18 315.4)

  • #EE6C21

    #EE6C21

    oklch(67.9% 0.179 45.4)

  • #62AF2B

    #62AF2B

    oklch(67.9% 0.179 135.4)

  • #00A7D4

    #00A7D4

    oklch(67.8% 0.129 225.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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