#D315EF

Closest named color: Hot Purple (#CB00F5). oklch(63% 0.292 321.5), rgb(211, 21, 239).

Aa

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

About this color

#D315EF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.292 and its hue 322°. 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.12:1.

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

Values

HEX#D315EF
RGBrgb(211, 21, 239)
HSLhsl(292, 87%, 51%)
OKLCHoklch(63% 0.292 321.5)

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 #D315EF 4.09:1 AA large text Lc -71.4 Content text, not long reading
Black text on #D315EF 5.12:1 AA Lc 38.1 Non-text elements, placeholder text
#D315EF text on white 4.09:1 AA large text Lc 65.9 Content text, not long reading
#D315EF text on black 5.12: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

    #FCF1FD

    oklch(97% 0.02 323.2)

  2. Step 100

    100

    #F7E1FB

    oklch(93.5% 0.042 321)

  3. Step 200

    200

    #F2C8F9

    oklch(88.4% 0.08 321.5)

  4. Step 300

    300

    #EBA0F8

    oklch(80.8% 0.144 321.5)

  5. Step 400

    400

    #DF64F4

    oklch(70.8% 0.229 321.6)

  6. Step 500

    500 (this color)

    #D315EF

    oklch(63% 0.292 321.5)

  7. Step 600

    600

    #B400CC

    oklch(55.6% 0.265 321.7)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D008F

    oklch(42.7% 0.203 321.4)

  10. Step 900

    900

    #690078

    oklch(37.6% 0.179 321.6)

  11. Step 950

    950

    #3F0548

    oklch(27% 0.12 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#D315EF 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)#0071F40.280
Deuteranopia (no green cones)#3F83EB0.263
Tritanopia (no blue cones)#D5518E0.174
Achromatopsia (no color)#7D7D7D0.295

Harmonies

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

Complementary

The opposite hue (180°).

  • #D315EF

    #D315EF

    oklch(63% 0.292 321.5)

  • #1EA600

    #1EA600

    oklch(63.1% 0.21 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D315EF

    #D315EF

    oklch(63% 0.292 321.5)

  • #9066FF

    #9066FF

    oklch(63.1% 0.217 291.6)

  • #F1009B

    #F1009B

    oklch(63% 0.262 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #D315EF

    #D315EF

    oklch(63% 0.292 321.5)

  • #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.

  • #D315EF

    #D315EF

    oklch(63% 0.292 321.5)

  • #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.

  • #D315EF

    #D315EF

    oklch(63% 0.292 321.5)

  • #D36600

    #D36600

    oklch(63% 0.163 51.6)

  • #1EA600

    #1EA600

    oklch(63.1% 0.21 141.5)

  • #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 #D315EF, closest first.

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

Similar named colors

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

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