#D21BEF

Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.29 321.2), rgb(210, 27, 239).

Aa

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

About this color

#D21BEF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.290 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.022 away. Black text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.290)
Temperaturein between
Nearest nameHot Purple (#CB00F5)
Black text5.14:1
White text4.08:1

Values

HEX#D21BEF
RGBrgb(210, 27, 239)
HSLhsl(292, 87%, 52%)
OKLCHoklch(63.1% 0.29 321.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 #D21BEF 4.08:1 AA large text Lc -71.4 Content text, not long reading
Black text on #D21BEF 5.14:1 AA Lc 38.1 Non-text elements, placeholder text
#D21BEF text on white 4.08:1 AA large text Lc 65.9 Content text, not long reading
#D21BEF text on black 5.14:1 AA Lc -35.7 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

    #FCF2FD

    oklch(97.2% 0.018 323)

  2. Step 100

    100

    #F7E1FB

    oklch(93.5% 0.042 321)

  3. Step 200

    200

    #F2C9F9

    oklch(88.6% 0.078 321.4)

  4. Step 300

    300

    #EAA1F8

    oklch(80.9% 0.142 321)

  5. Step 400

    400

    #DE65F4

    oklch(70.8% 0.227 321.2)

  6. Step 500

    500 (this color)

    #D21BEF

    oklch(63.1% 0.29 321.2)

  7. Step 600

    600

    #B300CD

    oklch(55.5% 0.265 321.1)

  8. Step 700

    700

    #9800AE

    oklch(49.2% 0.235 321.2)

  9. Step 800

    800

    #7D0090

    oklch(42.7% 0.204 321)

  10. Step 900

    900

    #690079

    oklch(37.7% 0.18 321.1)

  11. Step 950

    950

    #3F0548

    oklch(27% 0.12 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#D21BEF 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)#0072F40.277
Deuteranopia (no green cones)#3F83EB0.260
Tritanopia (no blue cones)#D3538F0.173
Achromatopsia (no color)#7E7E7E0.292

Harmonies

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

Complementary

The opposite hue (180°).

  • #D21BEF

    #D21BEF

    oklch(63.1% 0.29 321.2)

  • #23A600

    #23A600

    oklch(63.2% 0.209 141.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D21BEF

    #D21BEF

    oklch(63.1% 0.29 321.2)

  • #8F66FF

    #8F66FF

    oklch(63% 0.217 291.2)

  • #F1009C

    #F1009C

    oklch(63% 0.262 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #D21BEF

    #D21BEF

    oklch(63.1% 0.29 321.2)

  • #8D9000

    #8D9000

    oklch(63% 0.139 111.3)

  • #00A180

    #00A180

    oklch(63.1% 0.123 171.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D21BEF

    #D21BEF

    oklch(63.1% 0.29 321.2)

  • #B18000

    #B18000

    oklch(63.2% 0.13 81.5)

  • #009CA4

    #009CA4

    oklch(63% 0.107 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D21BEF

    #D21BEF

    oklch(63.1% 0.29 321.2)

  • #D46600

    #D46600

    oklch(63.2% 0.164 51.4)

  • #23A600

    #23A600

    oklch(63.2% 0.209 141.2)

  • #0096C8

    #0096C8

    oklch(63.1% 0.127 231)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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