#C17FED

Closest named color: Light Purple (#BF77F6). oklch(70.7% 0.168 310.4), rgb(193, 127, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.52:1
White text2.79:1

Values

HEX#C17FED
RGBrgb(193, 127, 237)
HSLhsl(276, 75%, 71%)
OKLCHoklch(70.7% 0.168 310.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 #C17FED 2.79:1 Fails Lc -58.8 Large or bold text, headings
Black text on #C17FED 7.52:1 AAA Lc 50.5 Large or bold text, headings
#C17FED text on white 2.79:1 Fails Lc 53.5 Large or bold text, headings
#C17FED text on black 7.52:1 AAA Lc -48.3 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF6

    oklch(88.5% 0.058 310.4)

  4. Step 300

    300

    #D6AEF3

    oklch(81% 0.104 310.5)

  5. Step 400

    400 (this color)

    #C17FED

    oklch(70.7% 0.168 310.4)

  6. Step 500

    500

    #B158E7

    oklch(63% 0.214 310.3)

  7. Step 600

    600

    #9D36D5

    oklch(55.6% 0.232 310.4)

  8. Step 700

    700

    #8625B8

    oklch(49% 0.216 310.5)

  9. Step 800

    800

    #6D2295

    oklch(42.6% 0.179 310.6)

  10. Step 900

    900

    #582477

    oklch(37.7% 0.139 310.1)

  11. Step 950

    950

    #341646

    oklch(27% 0.09 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#C17FED 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)#6598F10.134
Deuteranopia (no green cones)#779CEA0.122
Tritanopia (no blue cones)#BC90AB0.117
Achromatopsia (no color)#9B9B9B0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #C17FED

    #C17FED

    oklch(70.7% 0.168 310.4)

  • #7CB434

    #7CB434

    oklch(70.6% 0.167 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C17FED

    #C17FED

    oklch(70.7% 0.168 310.4)

  • #9093FF

    #9093FF

    oklch(70.8% 0.156 280.4)

  • #E372C0

    #E372C0

    oklch(70.7% 0.167 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #C17FED

    #C17FED

    oklch(70.7% 0.168 310.4)

  • #B6A200

    #B6A200

    oklch(70.8% 0.147 100.5)

  • #00BE7E

    #00BE7E

    oklch(70.7% 0.159 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C17FED

    #C17FED

    oklch(70.7% 0.168 310.4)

  • #DB8D00

    #DB8D00

    oklch(70.7% 0.152 70.6)

  • #00B8B2

    #00B8B2

    oklch(70.6% 0.122 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C17FED

    #C17FED

    oklch(70.7% 0.168 310.4)

  • #F57647

    #F57647

    oklch(70.7% 0.168 40.2)

  • #7CB434

    #7CB434

    oklch(70.6% 0.167 130.4)

  • #00B2D8

    #00B2D8

    oklch(70.7% 0.129 220.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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