#8F2274

Closest named color: Red Violet (#9E0168). oklch(45.8% 0.168 340), rgb(143, 34, 116).

Aa

White text reads best on this color (7.92:1).

About this color

#8F2274 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.168 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.039 away. White text reads best on it, at 7.92:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.64:1
White text7.92:1

Values

HEX#8F2274
RGBrgb(143, 34, 116)
HSLhsl(315, 62%, 35%)
OKLCHoklch(45.8% 0.168 340)

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 #8F2274 7.92:1 AAA Lc -91.1 Preferred for body text
Black text on #8F2274 2.64:1 Fails Lc 17.7 Dividers and decoration only
#8F2274 text on white 7.92:1 AAA Lc 86.3 Fine for body text
#8F2274 text on black 2.64:1 Fails Lc -15.7 Dividers and decoration only

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 800.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CCE5

    oklch(88.6% 0.055 339.6)

  4. Step 300

    300

    #ECA8D5

    oklch(81% 0.098 339.8)

  5. Step 400

    400

    #DF76BF

    oklch(70.7% 0.156 340)

  6. Step 500

    500

    #D34CAF

    oklch(63.1% 0.2 339.8)

  7. Step 600

    600

    #BE259A

    oklch(55.6% 0.217 340)

  8. Step 700

    700

    #A41384

    oklch(49.2% 0.203 339.9)

  9. Step 800

    800 (this color)

    #8F2274

    oklch(45.8% 0.168 340)

  10. Step 900

    900

    #6B1C57

    oklch(37.7% 0.131 339.7)

  11. Step 950

    950

    #3F1233

    oklch(26.9% 0.083 339.6)

Export this scale for Tailwind in the Tailwind colors tool

#8F2274 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)#2A46760.185
Deuteranopia (no green cones)#4D57710.160
Tritanopia (no blue cones)#9826480.079
Achromatopsia (no color)#5151510.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F2274

    #8F2274

    oklch(45.8% 0.168 340)

  • #006843

    #006843

    oklch(45.7% 0.103 160.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F2274

    #8F2274

    oklch(45.8% 0.168 340)

  • #74329B

    #74329B

    oklch(45.8% 0.168 310.3)

  • #9E1742

    #9E1742

    oklch(45.8% 0.168 9.7)

Open the analogous palette in the generator

Split complementary

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

  • #8F2274

    #8F2274

    oklch(45.8% 0.168 340)

  • #406400

    #406400

    oklch(45.8% 0.123 129.8)

  • #006561

    #006561

    oklch(45.7% 0.079 190)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F2274

    #8F2274

    oklch(45.8% 0.168 340)

  • #645800

    #645800

    oklch(45.8% 0.095 100.1)

  • #006277

    #006277

    oklch(45.9% 0.083 219.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F2274

    #8F2274

    oklch(45.8% 0.168 340)

  • #7A4C00

    #7A4C00

    oklch(45.8% 0.099 70.2)

  • #006843

    #006843

    oklch(45.7% 0.103 160.3)

  • #00599C

    #00599C

    oklch(45.7% 0.13 250.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #8F2274 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.