#C340BF

Closest named color: Purpley Pink (#C83CB9). oklch(60.4% 0.218 329.1), rgb(195, 64, 191).

Aa

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

About this color

#C340BF is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.218 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.014 away. Black text reads best on it, at 4.80:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.218)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.80:1
White text4.36:1

Values

HEX#C340BF
RGBrgb(195, 64, 191)
HSLhsl(302, 52%, 51%)
OKLCHoklch(60.4% 0.218 329.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 #C340BF 4.36:1 AA large text Lc -74.8 Content text, not long reading
Black text on #C340BF 4.80:1 AA Lc 34.8 Non-text elements, placeholder text
#C340BF text on white 4.36:1 AA large text Lc 69.3 Content text, not long reading
#C340BF text on black 4.80:1 AA Lc -32.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 500.

  1. Step 50

    50

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F4

    oklch(93.6% 0.03 329.1)

  3. Step 200

    200

    #F0CCED

    oklch(88.6% 0.059 328.7)

  4. Step 300

    300

    #E7A8E2

    oklch(80.9% 0.105 329.2)

  5. Step 400

    400

    #D975D4

    oklch(70.7% 0.171 329.1)

  6. Step 500

    500 (this color)

    #C340BF

    oklch(60.4% 0.218 329.1)

  7. Step 600

    600

    #B81FB4

    oklch(55.7% 0.236 329.4)

  8. Step 700

    700

    #9E099B

    oklch(49.1% 0.22 329.3)

  9. Step 800

    800

    #80127E

    oklch(42.7% 0.182 329.1)

  10. Step 900

    900

    #671A65

    oklch(37.6% 0.142 329.1)

  11. Step 950

    950

    #3D123B

    oklch(27.1% 0.089 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#C340BF 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)#316EC30.229
Deuteranopia (no green cones)#637FBC0.196
Tritanopia (no blue cones)#CA517B0.119
Achromatopsia (no color)#7979790.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #C340BF

    #C340BF

    oklch(60.4% 0.218 329.1)

  • #009C43

    #009C43

    oklch(60.5% 0.17 149.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C340BF

    #C340BF

    oklch(60.4% 0.218 329.1)

  • #9657EE

    #9657EE

    oklch(60.4% 0.217 298.9)

  • #DE2D7E

    #DE2D7E

    oklch(60.3% 0.218 359)

Open the analogous palette in the generator

Split complementary

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

  • #C340BF

    #C340BF

    oklch(60.4% 0.218 329.1)

  • #798C00

    #798C00

    oklch(60.4% 0.142 118.8)

  • #009683

    #009683

    oklch(60.3% 0.11 179.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C340BF

    #C340BF

    oklch(60.4% 0.218 329.1)

  • #9F7C00

    #9F7C00

    oklch(60.3% 0.123 88.8)

  • #0092A3

    #0092A3

    oklch(60.4% 0.104 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C340BF

    #C340BF

    oklch(60.4% 0.218 329.1)

  • #BE6800

    #BE6800

    oklch(60.4% 0.143 59)

  • #009C43

    #009C43

    oklch(60.5% 0.17 149.1)

  • #008AC9

    #008AC9

    oklch(60.3% 0.136 239.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C340BF.

Similar named colors

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

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