#D296E4

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.126 318.2), rgb(210, 150, 228).

Aa

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

About this color

#D296E4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.126 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.029 away. Black text reads best on it, at 9.22:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.22:1
White text2.27:1

Values

HEX#D296E4
RGBrgb(210, 150, 228)
HSLhsl(286, 59%, 74%)
OKLCHoklch(75.8% 0.126 318.2)

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 #D296E4 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #D296E4 9.22:1 AAA Lc 59.2 Large or bold text, headings
#D296E4 text on white 2.27:1 Fails Lc 44.8 Non-text elements, placeholder text
#D296E4 text on black 9.22:1 AAA Lc -57.3 Large or bold text, headings

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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E6D1EC

    oklch(88.6% 0.043 318.7)

  4. Step 300

    300

    #D6B1E2

    oklch(80.9% 0.079 317.8)

  5. Step 400

    400 (this color)

    #D296E4

    oklch(75.8% 0.126 318.2)

  6. Step 500

    500

    #B165C7

    oklch(63% 0.161 318.3)

  7. Step 600

    600

    #9C4AB4

    oklch(55.6% 0.175 318)

  8. Step 700

    700

    #863A9B

    oklch(49.2% 0.164 318.4)

  9. Step 800

    800

    #6D317D

    oklch(42.7% 0.134 318.7)

  10. Step 900

    900

    #582C65

    oklch(37.7% 0.105 318.1)

  11. Step 950

    950

    #341B3B

    oklch(27.1% 0.066 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#D296E4 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)#8CA8E70.105
Deuteranopia (no green cones)#9AAEE20.097
Tritanopia (no blue cones)#D29FB30.082
Achromatopsia (no color)#ACACAC0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #D296E4

    #D296E4

    oklch(75.8% 0.126 318.2)

  • #87C373

    #87C373

    oklch(75.7% 0.126 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D296E4

    #D296E4

    oklch(75.8% 0.126 318.2)

  • #ADA3FC

    #ADA3FC

    oklch(75.8% 0.126 288.1)

  • #EB8EBE

    #EB8EBE

    oklch(75.8% 0.126 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #D296E4

    #D296E4

    oklch(75.8% 0.126 318.2)

  • #B8B64F

    #B8B64F

    oklch(75.7% 0.125 108)

  • #4CCAA1

    #4CCAA1

    oklch(75.8% 0.127 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D296E4

    #D296E4

    oklch(75.8% 0.126 318.2)

  • #DCA649

    #DCA649

    oklch(75.9% 0.126 78.3)

  • #17C8CD

    #17C8CD

    oklch(75.7% 0.126 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D296E4

    #D296E4

    oklch(75.8% 0.126 318.2)

  • #F19766

    #F19766

    oklch(75.9% 0.126 48.7)

  • #87C373

    #87C373

    oklch(75.7% 0.126 138.2)

  • #45BFEF

    #45BFEF

    oklch(75.7% 0.126 228.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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