#C271D7

Closest named color: Orchid (#DA70D6). oklch(67.6% 0.167 319.1), rgb(194, 113, 215).

Aa

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

About this color

#C271D7 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.167 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.042 away. Black text reads best on it, at 6.63:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.167)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text6.63:1
White text3.16:1

Values

HEX#C271D7
RGBrgb(194, 113, 215)
HSLhsl(288, 56%, 64%)
OKLCHoklch(67.6% 0.167 319.1)

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 #C271D7 3.16:1 AA large text Lc -63.8 Content text, not long reading
Black text on #C271D7 6.63:1 AA Lc 45.6 Large or bold text, headings
#C271D7 text on white 3.16:1 AA large text Lc 58.4 Large or bold text, headings
#C271D7 text on black 6.63:1 AA Lc -43.3 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

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACEF2

    oklch(88.6% 0.057 318.7)

  4. Step 300

    300

    #DEABEC

    oklch(80.9% 0.105 318.9)

  5. Step 400

    400 (this color)

    #C271D7

    oklch(67.6% 0.167 319.1)

  6. Step 500

    500

    #BE53D9

    oklch(63.2% 0.213 319)

  7. Step 600

    600

    #A92EC6

    oklch(55.5% 0.231 319)

  8. Step 700

    700

    #911DAB

    oklch(49% 0.216 319.1)

  9. Step 800

    800

    #761D8B

    oklch(42.7% 0.179 319)

  10. Step 900

    900

    #5F206F

    oklch(37.6% 0.139 318.8)

  11. Step 950

    950

    #381441

    oklch(26.9% 0.089 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#C271D7 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)#608BDB0.150
Deuteranopia (no green cones)#7794D40.135
Tritanopia (no blue cones)#C37F9A0.107
Achromatopsia (no color)#9191910.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #C271D7

    #C271D7

    oklch(67.6% 0.167 319.1)

  • #5BAE41

    #5BAE41

    oklch(67.5% 0.167 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C271D7

    #C271D7

    oklch(67.6% 0.167 319.1)

  • #9682F6

    #9682F6

    oklch(67.6% 0.167 289.1)

  • #DF66A7

    #DF66A7

    oklch(67.6% 0.167 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #C271D7

    #C271D7

    oklch(67.6% 0.167 319.1)

  • #9F9D00

    #9F9D00

    oklch(67.5% 0.146 108.8)

  • #00B189

    #00B189

    oklch(67.6% 0.135 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C271D7

    #C271D7

    oklch(67.6% 0.167 319.1)

  • #C48B00

    #C48B00

    oklch(67.5% 0.14 79.5)

  • #00ACB2

    #00ACB2

    oklch(67.6% 0.115 199.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C271D7

    #C271D7

    oklch(67.6% 0.167 319.1)

  • #E67123

    #E67123

    oklch(67.5% 0.167 48.8)

  • #5BAE41

    #5BAE41

    oklch(67.5% 0.167 139)

  • #00A5D8

    #00A5D8

    oklch(67.5% 0.133 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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