#D240C0

Closest named color: Purpley Pink (#C83CB9). oklch(62.6% 0.226 333.4), rgb(210, 64, 192).

Aa

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

About this color

#D240C0 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.226 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.023 away. Black text reads best on it, at 5.23:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.226)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text5.23:1
White text4.01:1

Values

HEX#D240C0
RGBrgb(210, 64, 192)
HSLhsl(307, 62%, 54%)
OKLCHoklch(62.6% 0.226 333.4)

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 #D240C0 4.01:1 AA large text Lc -71.8 Content text, not long reading
Black text on #D240C0 5.23:1 AA Lc 37.8 Non-text elements, placeholder text
#D240C0 text on white 4.01:1 AA large text Lc 66.3 Content text, not long reading
#D240C0 text on black 5.23:1 AA Lc -35.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

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F8E2F3

    oklch(93.5% 0.033 333.6)

  3. Step 200

    200

    #F3CBEB

    oklch(88.6% 0.061 333)

  4. Step 300

    300

    #ECA6DF

    oklch(81% 0.11 333.3)

  5. Step 400

    400

    #E071CF

    oklch(70.8% 0.178 333.3)

  6. Step 500

    500 (this color)

    #D240C0

    oklch(62.6% 0.226 333.4)

  7. Step 600

    600

    #BF08AE

    oklch(55.6% 0.246 333.3)

  8. Step 700

    700

    #A20093

    oklch(49.1% 0.22 333.5)

  9. Step 800

    800

    #850379

    oklch(42.6% 0.189 333.3)

  10. Step 900

    900

    #6C1562

    oklch(37.8% 0.148 333.4)

  11. Step 950

    950

    #3F0F39

    oklch(26.9% 0.093 333.2)

Export this scale for Tailwind in the Tailwind colors tool

#D240C0 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)#3B71C40.244
Deuteranopia (no green cones)#7086BC0.208
Tritanopia (no blue cones)#DB4D7B0.116
Achromatopsia (no color)#7F7F7F0.228

Harmonies

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

Complementary

The opposite hue (180°).

  • #D240C0

    #D240C0

    oklch(62.6% 0.226 333.4)

  • #00A257

    #00A257

    oklch(62.5% 0.16 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D240C0

    #D240C0

    oklch(62.6% 0.226 333.4)

  • #A657F5

    #A657F5

    oklch(62.6% 0.227 303.4)

  • #EC2E7A

    #EC2E7A

    oklch(62.6% 0.226 3.2)

Open the analogous palette in the generator

Split complementary

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

  • #D240C0

    #D240C0

    oklch(62.6% 0.226 333.4)

  • #769600

    #769600

    oklch(62.6% 0.154 123.4)

  • #009D8F

    #009D8F

    oklch(62.5% 0.111 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D240C0

    #D240C0

    oklch(62.6% 0.226 333.4)

  • #A28500

    #A28500

    oklch(62.6% 0.128 93.4)

  • #0098B0

    #0098B0

    oklch(62.5% 0.11 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D240C0

    #D240C0

    oklch(62.6% 0.226 333.4)

  • #C27100

    #C27100

    oklch(62.5% 0.142 63.2)

  • #00A257

    #00A257

    oklch(62.5% 0.16 153.4)

  • #008FDC

    #008FDC

    oklch(62.5% 0.153 243.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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