#C271E5

Closest named color: Light Purple (#BF77F6). oklch(68.3% 0.182 314.8), rgb(194, 113, 229).

Aa

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

About this color

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

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

Values

HEX#C271E5
RGBrgb(194, 113, 229)
HSLhsl(282, 69%, 67%)
OKLCHoklch(68.3% 0.182 314.8)

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 #C271E5 3.09:1 AA large text Lc -62.9 Content text, not long reading
Black text on #C271E5 6.78:1 AA Lc 46.5 Large or bold text, headings
#C271E5 text on white 3.09:1 AA large text Lc 57.5 Large or bold text, headings
#C271E5 text on black 6.78:1 AA Lc -44.2 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

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CDF6

    oklch(88.4% 0.063 315.1)

  4. Step 300

    300

    #DCAAF3

    oklch(80.8% 0.113 314.9)

  5. Step 400

    400 (this color)

    #C271E5

    oklch(68.3% 0.182 314.8)

  6. Step 500

    500

    #BC4EE7

    oklch(63.2% 0.231 315)

  7. Step 600

    600

    #A723D5

    oklch(55.6% 0.252 314.8)

  8. Step 700

    700

    #8F0FB9

    oklch(49.1% 0.234 314.6)

  9. Step 800

    800

    #741595

    oklch(42.6% 0.194 314.8)

  10. Step 900

    900

    #5E1C77

    oklch(37.6% 0.152 314.8)

  11. Step 950

    950

    #371346

    oklch(27% 0.096 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#C271E5 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)#578EE90.158
Deuteranopia (no green cones)#7095E20.141
Tritanopia (no blue cones)#C083A10.121
Achromatopsia (no color)#9292920.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #C271E5

    #C271E5

    oklch(68.3% 0.182 314.8)

  • #64B027

    #64B027

    oklch(68.2% 0.182 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C271E5

    #C271E5

    oklch(68.3% 0.182 314.8)

  • #9085FF

    #9085FF

    oklch(68.2% 0.175 284.9)

  • #E363B3

    #E363B3

    oklch(68.2% 0.182 344.6)

Open the analogous palette in the generator

Split complementary

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

  • #C271E5

    #C271E5

    oklch(68.3% 0.182 314.8)

  • #A79D00

    #A79D00

    oklch(68.3% 0.145 105.1)

  • #00B482

    #00B482

    oklch(68.2% 0.144 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C271E5

    #C271E5

    oklch(68.3% 0.182 314.8)

  • #CC8A00

    #CC8A00

    oklch(68.3% 0.144 75.1)

  • #00AFAF

    #00AFAF

    oklch(68.3% 0.117 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C271E5

    #C271E5

    oklch(68.3% 0.182 314.8)

  • #F06C22

    #F06C22

    oklch(68.2% 0.181 45)

  • #64B027

    #64B027

    oklch(68.2% 0.182 134.8)

  • #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 #C271E5, closest first.

Similar named colors

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

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