#8F3274

Closest named color: Light Eggplant (#894585). oklch(47.4% 0.147 340.9), rgb(143, 50, 116).

Aa

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

About this color

#8F3274 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.147 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.043 away. White text reads best on it, at 7.30:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.147)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.87:1
White text7.30:1

Values

HEX#8F3274
RGBrgb(143, 50, 116)
HSLhsl(317, 48%, 38%)
OKLCHoklch(47.4% 0.147 340.9)

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 #8F3274 7.30:1 AAA Lc -89.5 Fine for body text
Black text on #8F3274 2.87:1 Fails Lc 19.4 Dividers and decoration only
#8F3274 text on white 7.30:1 AAA Lc 84.6 Fine for body text
#8F3274 text on black 2.87:1 Fails Lc -17.4 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 700.

  1. Step 50

    50

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #ECCFE1

    oklch(88.4% 0.04 340.3)

  4. Step 300

    300

    #E1AFCE

    oklch(80.9% 0.071 341.1)

  5. Step 400

    400

    #D084B6

    oklch(70.7% 0.113 340.7)

  6. Step 500

    500

    #C262A3

    oklch(63% 0.145 341)

  7. Step 600

    600

    #AD478E

    oklch(55.6% 0.157 341.1)

  8. Step 700

    700 (this color)

    #8F3274

    oklch(47.4% 0.147 340.9)

  9. Step 800

    800

    #792F63

    oklch(42.8% 0.122 340.8)

  10. Step 900

    900

    #622A50

    oklch(37.7% 0.095 341.4)

  11. Step 950

    950

    #39192F

    oklch(26.8% 0.06 340.4)

Export this scale for Tailwind in the Tailwind colors tool

#8F3274 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)#384D760.159
Deuteranopia (no green cones)#545C720.140
Tritanopia (no blue cones)#97344E0.066
Achromatopsia (no color)#5656560.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F3274

    #8F3274

    oklch(47.4% 0.147 340.9)

  • #006D48

    #006D48

    oklch(47.2% 0.105 161.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F3274

    #8F3274

    oklch(47.4% 0.147 340.9)

  • #763E97

    #763E97

    oklch(47.4% 0.146 311.1)

  • #9C2D47

    #9C2D47

    oklch(47.3% 0.147 11)

Open the analogous palette in the generator

Split complementary

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

  • #8F3274

    #8F3274

    oklch(47.4% 0.147 340.9)

  • #416900

    #416900

    oklch(47.3% 0.129 130.8)

  • #006A67

    #006A67

    oklch(47.4% 0.081 191.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F3274

    #8F3274

    oklch(47.4% 0.147 340.9)

  • #685D00

    #685D00

    oklch(47.4% 0.099 101.4)

  • #00667E

    #00667E

    oklch(47.3% 0.087 221.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F3274

    #8F3274

    oklch(47.4% 0.147 340.9)

  • #7F5000

    #7F5000

    oklch(47.3% 0.102 70.8)

  • #006D48

    #006D48

    oklch(47.2% 0.105 161.3)

  • #005DA5

    #005DA5

    oklch(47.3% 0.137 250.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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