#C170DB

Closest named color: Light Purple (#BF77F6). oklch(67.5% 0.172 317.5), rgb(193, 112, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.60:1
White text3.17:1

Values

HEX#C170DB
RGBrgb(193, 112, 219)
HSLhsl(285, 60%, 65%)
OKLCHoklch(67.5% 0.172 317.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 #C170DB 3.17:1 AA large text Lc -64.0 Content text, not long reading
Black text on #C170DB 6.60:1 AA Lc 45.5 Large or bold text, headings
#C170DB text on white 3.17:1 AA large text Lc 58.6 Large or bold text, headings
#C170DB text on black 6.60:1 AA Lc -43.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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACDF4

    oklch(88.5% 0.061 317.4)

  4. Step 300

    300

    #DDABEE

    oklch(80.9% 0.107 317.4)

  5. Step 400

    400 (this color)

    #C170DB

    oklch(67.5% 0.172 317.5)

  6. Step 500

    500

    #BD51DE

    oklch(63.1% 0.22 317.4)

  7. Step 600

    600

    #A92ACC

    oklch(55.6% 0.24 317.5)

  8. Step 700

    700

    #9119B0

    oklch(49.2% 0.222 317.7)

  9. Step 800

    800

    #751A8F

    oklch(42.7% 0.185 317.1)

  10. Step 900

    900

    #5F1F72

    oklch(37.7% 0.143 317.4)

  11. Step 950

    950

    #381443

    oklch(27.1% 0.091 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#C170DB 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)#5C8BDF0.153
Deuteranopia (no green cones)#7493D80.136
Tritanopia (no blue cones)#C17F9B0.112
Achromatopsia (no color)#9090900.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170DB

    #C170DB

    oklch(67.5% 0.172 317.5)

  • #5DAE38

    #5DAE38

    oklch(67.5% 0.172 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170DB

    #C170DB

    oklch(67.5% 0.172 317.5)

  • #9381F9

    #9381F9

    oklch(67.4% 0.172 287.7)

  • #DF64AA

    #DF64AA

    oklch(67.4% 0.171 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #C170DB

    #C170DB

    oklch(67.5% 0.172 317.5)

  • #A19C00

    #A19C00

    oklch(67.5% 0.145 107.4)

  • #00B185

    #00B185

    oklch(67.5% 0.138 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170DB

    #C170DB

    oklch(67.5% 0.172 317.5)

  • #C68900

    #C68900

    oklch(67.4% 0.141 77.2)

  • #00ACB0

    #00ACB0

    oklch(67.5% 0.115 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170DB

    #C170DB

    oklch(67.5% 0.172 317.5)

  • #E86E21

    #E86E21

    oklch(67.4% 0.172 47.4)

  • #5DAE38

    #5DAE38

    oklch(67.5% 0.172 137.5)

  • #00A5D5

    #00A5D5

    oklch(67.4% 0.131 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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