#C271DB

Closest named color: Light Purple (#BF77F6). oklch(67.8% 0.171 317.8), rgb(194, 113, 219).

Aa

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

About this color

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

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

Values

HEX#C271DB
RGBrgb(194, 113, 219)
HSLhsl(286, 60%, 65%)
OKLCHoklch(67.8% 0.171 317.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 #C271DB 3.14:1 AA large text Lc -63.6 Content text, not long reading
Black text on #C271DB 6.67:1 AA Lc 45.9 Large or bold text, headings
#C271DB text on white 3.14:1 AA large text Lc 58.2 Large or bold text, headings
#C271DB text on black 6.67:1 AA Lc -43.6 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

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACDF3

    oklch(88.4% 0.06 318.1)

  4. Step 300

    300

    #DDABEE

    oklch(80.9% 0.107 317.4)

  5. Step 400

    400 (this color)

    #C271DB

    oklch(67.8% 0.171 317.8)

  6. Step 500

    500

    #BD51DD

    oklch(63% 0.219 317.7)

  7. Step 600

    600

    #A92BCA

    oklch(55.6% 0.237 318)

  8. Step 700

    700

    #911AAF

    oklch(49.1% 0.221 317.9)

  9. Step 800

    800

    #761B8E

    oklch(42.8% 0.183 317.9)

  10. Step 900

    900

    #5F1F71

    oklch(37.7% 0.142 317.9)

  11. Step 950

    950

    #381442

    oklch(27% 0.09 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#C271DB 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)#5E8CDF0.152
Deuteranopia (no green cones)#7594D80.137
Tritanopia (no blue cones)#C2809C0.110
Achromatopsia (no color)#9191910.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #C271DB

    #C271DB

    oklch(67.8% 0.171 317.8)

  • #5DAF3B

    #5DAF3B

    oklch(67.8% 0.171 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C271DB

    #C271DB

    oklch(67.8% 0.171 317.8)

  • #9482F9

    #9482F9

    oklch(67.7% 0.171 287.9)

  • #E065AA

    #E065AA

    oklch(67.7% 0.171 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #C271DB

    #C271DB

    oklch(67.8% 0.171 317.8)

  • #A19D00

    #A19D00

    oklch(67.7% 0.146 107.9)

  • #00B287

    #00B287

    oklch(67.8% 0.138 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C271DB

    #C271DB

    oklch(67.8% 0.171 317.8)

  • #C78A00

    #C78A00

    oklch(67.7% 0.141 77.4)

  • #00ADB1

    #00ADB1

    oklch(67.8% 0.115 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C271DB

    #C271DB

    oklch(67.8% 0.171 317.8)

  • #E97023

    #E97023

    oklch(67.8% 0.171 47.8)

  • #5DAF3B

    #5DAF3B

    oklch(67.8% 0.171 137.9)

  • #00A6D7

    #00A6D7

    oklch(67.7% 0.132 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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