#D640BF

Closest named color: Pinky Purple (#C94CBE). oklch(63.1% 0.228 334.8), rgb(214, 64, 191).

Aa

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

About this color

#D640BF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.228 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.028 away. Black text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.228)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.34:1
White text3.92:1

Values

HEX#D640BF
RGBrgb(214, 64, 191)
HSLhsl(309, 65%, 55%)
OKLCHoklch(63.1% 0.228 334.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 #D640BF 3.92:1 AA large text Lc -71.0 Content text, not long reading
Black text on #D640BF 5.34:1 AA Lc 38.5 Non-text elements, placeholder text
#D640BF text on white 3.92:1 AA large text Lc 65.5 Content text, not long reading
#D640BF text on black 5.34:1 AA Lc -36.1 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E2F3

    oklch(93.5% 0.033 333.6)

  3. Step 200

    200

    #F4CAEA

    oklch(88.5% 0.063 334.5)

  4. Step 300

    300

    #EDA5DD

    oklch(80.8% 0.111 334.8)

  5. Step 400

    400

    #E170CC

    oklch(70.6% 0.178 334.8)

  6. Step 500

    500 (this color)

    #D640BF

    oklch(63.1% 0.228 334.8)

  7. Step 600

    600

    #C100AB

    oklch(55.6% 0.248 334.8)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #6D1360

    oklch(37.7% 0.149 335)

  11. Step 950

    950

    #400F38

    oklch(27% 0.093 335.1)

Export this scale for Tailwind in the Tailwind colors tool

#D640BF 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)#3F72C30.246
Deuteranopia (no green cones)#7388BB0.211
Tritanopia (no blue cones)#E04C7B0.114
Achromatopsia (no color)#8080800.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #D640BF

    #D640BF

    oklch(63.1% 0.228 334.8)

  • #00A45D

    #00A45D

    oklch(63.1% 0.157 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D640BF

    #D640BF

    oklch(63.1% 0.228 334.8)

  • #AA57F5

    #AA57F5

    oklch(63% 0.228 304.8)

  • #EF2F77

    #EF2F77

    oklch(63.1% 0.227 4.9)

Open the analogous palette in the generator

Split complementary

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

  • #D640BF

    #D640BF

    oklch(63.1% 0.228 334.8)

  • #749900

    #749900

    oklch(63.2% 0.159 125)

  • #009F92

    #009F92

    oklch(63.2% 0.111 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D640BF

    #D640BF

    oklch(63.1% 0.228 334.8)

  • #A28700

    #A28700

    oklch(63% 0.129 94.8)

  • #009AB3

    #009AB3

    oklch(63.1% 0.111 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D640BF

    #D640BF

    oklch(63.1% 0.228 334.8)

  • #C37400

    #C37400

    oklch(63.1% 0.142 64.7)

  • #00A45D

    #00A45D

    oklch(63.1% 0.157 154.8)

  • #0090E2

    #0090E2

    oklch(63.1% 0.159 245)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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