#E312CA

Closest named color: Hot Magenta (#F504C9). oklch(63.2% 0.275 334.7), rgb(227, 18, 202).

Aa

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

About this color

#E312CA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.275 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Magenta (#F504C9), ΔE 0.035 away. Black text reads best on it, at 5.20:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.275)
Temperaturein between
Nearest nameHot Magenta (#F504C9)
Black text5.20:1
White text4.03:1

Values

HEX#E312CA
RGBrgb(227, 18, 202)
HSLhsl(307, 85%, 48%)
OKLCHoklch(63.2% 0.275 334.7)

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 #E312CA 4.03:1 AA large text Lc -70.8 Content text, not long reading
Black text on #E312CA 5.20:1 AA Lc 38.8 Non-text elements, placeholder text
#E312CA text on white 4.03:1 AA large text Lc 65.3 Content text, not long reading
#E312CA text on black 5.20:1 AA Lc -36.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

    #FEF1FA

    oklch(97.1% 0.018 336.5)

  2. Step 100

    100

    #FBE1F4

    oklch(93.6% 0.038 335.3)

  3. Step 200

    200

    #F9C7ED

    oklch(88.5% 0.075 334.8)

  4. Step 300

    300

    #F69EE3

    oklch(80.9% 0.135 335)

  5. Step 400

    400

    #ED61D5

    oklch(70.7% 0.215 334.9)

  6. Step 500

    500 (this color)

    #E312CA

    oklch(63.2% 0.275 334.7)

  7. Step 600

    600

    #C100AB

    oklch(55.6% 0.248 334.8)

  8. Step 700

    700

    #A30091

    oklch(49.1% 0.219 334.5)

  9. Step 800

    800

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #710064

    oklch(37.7% 0.168 334.6)

  11. Step 950

    950

    #44043C

    oklch(26.9% 0.113 334.3)

Export this scale for Tailwind in the Tailwind colors tool

#E312CA 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)#086CCE0.312
Deuteranopia (no green cones)#6D88C60.257
Tritanopia (no blue cones)#EE33780.139
Achromatopsia (no color)#7E7E7E0.278

Harmonies

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

Complementary

The opposite hue (180°).

  • #E312CA

    #E312CA

    oklch(63.2% 0.275 334.7)

  • #00A45D

    #00A45D

    oklch(63.1% 0.157 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E312CA

    #E312CA

    oklch(63.2% 0.275 334.7)

  • #AD4FFF

    #AD4FFF

    oklch(63.1% 0.249 304.6)

  • #F90076

    #F90076

    oklch(63.2% 0.254 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #E312CA

    #E312CA

    oklch(63.2% 0.275 334.7)

  • #759900

    #759900

    oklch(63.3% 0.158 124.6)

  • #009F92

    #009F92

    oklch(63.2% 0.111 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E312CA

    #E312CA

    oklch(63.2% 0.275 334.7)

  • #A38800

    #A38800

    oklch(63.3% 0.13 94.9)

  • #009AB3

    #009AB3

    oklch(63.1% 0.111 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E312CA

    #E312CA

    oklch(63.2% 0.275 334.7)

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

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

Similar named colors

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

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