#F842EF

Closest named color: Bright Magenta (#FF08E8). oklch(70.7% 0.277 330.2), rgb(248, 66, 239).

Aa

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

About this color

#F842EF is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.277 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bright Magenta (#FF08E8), ΔE 0.038 away. Black text reads best on it, at 7.01:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.277)
Temperaturein between
Nearest nameBright Magenta (#FF08E8)
Black text7.01:1
White text2.99:1

Values

HEX#F842EF
RGBrgb(248, 66, 239)
HSLhsl(303, 93%, 62%)
OKLCHoklch(70.7% 0.277 330.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 #F842EF 2.99:1 Fails Lc -60.5 Content text, not long reading
Black text on #F842EF 7.01:1 AAA Lc 48.9 Large or bold text, headings
#F842EF text on white 2.99:1 Fails Lc 55.2 Large or bold text, headings
#F842EF text on black 7.01:1 AAA Lc -46.6 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

    #FFF0FD

    oklch(97.1% 0.023 330)

  2. Step 100

    100

    #FEDEFA

    oklch(93.5% 0.051 330)

  3. Step 200

    200

    #FEC2F7

    oklch(88.4% 0.096 330.3)

  4. Step 300

    300

    #FE94F5

    oklch(80.9% 0.173 330.2)

  5. Step 400

    400 (this color)

    #F842EF

    oklch(70.7% 0.277 330.2)

  6. Step 500

    500

    #E000D8

    oklch(63.1% 0.287 330.3)

  7. Step 600

    600

    #BD00B6

    oklch(55.6% 0.253 330.4)

  8. Step 700

    700

    #A0009A

    oklch(49.1% 0.224 330.4)

  9. Step 800

    800

    #84007F

    oklch(42.7% 0.194 330.4)

  10. Step 900

    900

    #6F006B

    oklch(37.7% 0.172 330.2)

  11. Step 950

    950

    #440042

    oklch(27% 0.123 329.8)

Export this scale for Tailwind in the Tailwind colors tool

#F842EF 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)#2A85F40.300
Deuteranopia (no green cones)#7A9EEB0.253
Tritanopia (no blue cones)#FF5B960.148
Achromatopsia (no color)#9595950.279

Harmonies

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

Complementary

The opposite hue (180°).

  • #F842EF

    #F842EF

    oklch(70.7% 0.277 330.2)

  • #00C05A

    #00C05A

    oklch(70.6% 0.193 150.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F842EF

    #F842EF

    oklch(70.7% 0.277 330.2)

  • #B381FF

    #B381FF

    oklch(70.6% 0.182 300.1)

  • #FF5D9B

    #FF5D9B

    oklch(70.7% 0.203 0.1)

Open the analogous palette in the generator

Split complementary

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

  • #F842EF

    #F842EF

    oklch(70.7% 0.277 330.2)

  • #93AF00

    #93AF00

    oklch(70.7% 0.169 120.5)

  • #00BAA4

    #00BAA4

    oklch(70.7% 0.128 180.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F842EF

    #F842EF

    oklch(70.7% 0.277 330.2)

  • #C39B00

    #C39B00

    oklch(70.6% 0.144 90.2)

  • #00B4CB

    #00B4CB

    oklch(70.6% 0.122 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F842EF

    #F842EF

    oklch(70.7% 0.277 330.2)

  • #E98300

    #E98300

    oklch(70.7% 0.166 60.1)

  • #00C05A

    #00C05A

    oklch(70.6% 0.193 150.2)

  • #00ABFB

    #00ABFB

    oklch(70.7% 0.163 240.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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