#C17CEB

Closest named color: Light Purple (#BF77F6). oklch(70.1% 0.17 311.4), rgb(193, 124, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.170)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.35:1
White text2.85:1

Values

HEX#C17CEB
RGBrgb(193, 124, 235)
HSLhsl(277, 74%, 70%)
OKLCHoklch(70.1% 0.17 311.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 #C17CEB 2.85:1 Fails Lc -59.7 Large or bold text, headings
Black text on #C17CEB 7.35:1 AAA Lc 49.6 Large or bold text, headings
#C17CEB text on white 2.85:1 Fails Lc 54.4 Large or bold text, headings
#C17CEB text on black 7.35:1 AAA Lc -47.4 Large or bold text, headings

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

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E6CFF6

    oklch(88.6% 0.058 311.5)

  4. Step 300

    300

    #D7ADF3

    oklch(80.9% 0.106 311.4)

  5. Step 400

    400 (this color)

    #C17CEB

    oklch(70.1% 0.17 311.4)

  6. Step 500

    500

    #B356E7

    oklch(63% 0.218 311.2)

  7. Step 600

    600

    #9F33D5

    oklch(55.6% 0.236 311.3)

  8. Step 700

    700

    #8822B8

    oklch(49% 0.219 311.5)

  9. Step 800

    800

    #6F2095

    oklch(42.7% 0.182 311.7)

  10. Step 900

    900

    #5A2277

    oklch(37.7% 0.143 311.7)

  11. Step 950

    950

    #341646

    oklch(27% 0.09 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#C17CEB 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)#6295EF0.139
Deuteranopia (no green cones)#769AE80.125
Tritanopia (no blue cones)#BC8DA90.117
Achromatopsia (no color)#9999990.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #C17CEB

    #C17CEB

    oklch(70.1% 0.17 311.4)

  • #77B331

    #77B331

    oklch(70.1% 0.17 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C17CEB

    #C17CEB

    oklch(70.1% 0.17 311.4)

  • #9090FF

    #9090FF

    oklch(70.2% 0.16 281.5)

  • #E36FBD

    #E36FBD

    oklch(70.2% 0.17 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #C17CEB

    #C17CEB

    oklch(70.1% 0.17 311.4)

  • #B2A100

    #B2A100

    oklch(70.2% 0.147 101.9)

  • #00BC7F

    #00BC7F

    oklch(70.2% 0.156 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C17CEB

    #C17CEB

    oklch(70.1% 0.17 311.4)

  • #D88C00

    #D88C00

    oklch(70.1% 0.151 71.2)

  • #00B6B1

    #00B6B1

    oklch(70.1% 0.121 191.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C17CEB

    #C17CEB

    oklch(70.1% 0.17 311.4)

  • #F37440

    #F37440

    oklch(70.1% 0.17 41.6)

  • #77B331

    #77B331

    oklch(70.1% 0.17 131.3)

  • #00B0D7

    #00B0D7

    oklch(70.1% 0.129 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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