#C271E7

Closest named color: Light Purple (#BF77F6). oklch(68.4% 0.184 314.2), rgb(194, 113, 231).

Aa

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

About this color

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

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

Values

HEX#C271E7
RGBrgb(194, 113, 231)
HSLhsl(281, 71%, 67%)
OKLCHoklch(68.4% 0.184 314.2)

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 #C271E7 3.08:1 AA large text Lc -62.8 Content text, not long reading
Black text on #C271E7 6.80:1 AA Lc 46.7 Large or bold text, headings
#C271E7 text on white 3.08:1 AA large text Lc 57.4 Large or bold text, headings
#C271E7 text on black 6.80:1 AA Lc -44.4 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

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E9CDF7

    oklch(88.5% 0.064 314.5)

  4. Step 300

    300

    #DCAAF4

    oklch(80.9% 0.115 314.5)

  5. Step 400

    400 (this color)

    #C271E7

    oklch(68.4% 0.184 314.2)

  6. Step 500

    500

    #BB4DE9

    oklch(63.1% 0.234 314.2)

  7. Step 600

    600

    #A721D7

    oklch(55.6% 0.255 314.3)

  8. Step 700

    700

    #8F0BBB

    oklch(49.1% 0.238 314.1)

  9. Step 800

    800

    #741397

    oklch(42.7% 0.197 314.2)

  10. Step 900

    900

    #5E1C78

    oklch(37.7% 0.153 314.4)

  11. Step 950

    950

    #371346

    oklch(27% 0.096 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#C271E7 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)#568EEB0.159
Deuteranopia (no green cones)#6F95E40.142
Tritanopia (no blue cones)#BF84A20.124
Achromatopsia (no color)#9393930.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #C271E7

    #C271E7

    oklch(68.4% 0.184 314.2)

  • #66B022

    #66B022

    oklch(68.3% 0.183 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C271E7

    #C271E7

    oklch(68.4% 0.184 314.2)

  • #8F86FF

    #8F86FF

    oklch(68.3% 0.174 284.2)

  • #E463B5

    #E463B5

    oklch(68.4% 0.184 344)

Open the analogous palette in the generator

Split complementary

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

  • #C271E7

    #C271E7

    oklch(68.4% 0.184 314.2)

  • #A99D00

    #A99D00

    oklch(68.5% 0.145 104.1)

  • #00B581

    #00B581

    oklch(68.4% 0.146 164)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C271E7

    #C271E7

    oklch(68.4% 0.184 314.2)

  • #CD8A00

    #CD8A00

    oklch(68.4% 0.145 74.7)

  • #00AFAF

    #00AFAF

    oklch(68.3% 0.117 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C271E7

    #C271E7

    oklch(68.4% 0.184 314.2)

  • #F26B22

    #F26B22

    oklch(68.4% 0.184 44.3)

  • #66B022

    #66B022

    oklch(68.3% 0.183 134.1)

  • #00A9D4

    #00A9D4

    oklch(68.3% 0.129 224.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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