#8F45DC

Closest named color: Purpley (#8756E4). oklch(56% 0.219 302.2), rgb(143, 69, 220).

Aa

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

About this color

#8F45DC is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.219 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.036 away. White text reads best on it, at 5.18:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.219)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.05:1
White text5.18:1

Values

HEX#8F45DC
RGBrgb(143, 69, 220)
HSLhsl(269, 68%, 57%)
OKLCHoklch(56% 0.219 302.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 #8F45DC 5.18:1 AA Lc -80.3 Fine for body text
Black text on #8F45DC 4.05:1 AA large text Lc 29.1 Dividers and decoration only
#8F45DC text on white 5.18:1 AA Lc 74.9 Content text, not long reading
#8F45DC text on black 4.05:1 AA large text Lc -26.8 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 600.

  1. Step 50

    50

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F8

    oklch(88.5% 0.055 302.8)

  4. Step 300

    300

    #CCB2F6

    oklch(80.9% 0.098 301.8)

  5. Step 400

    400

    #B486F1

    oklch(70.7% 0.157 302.4)

  6. Step 500

    500

    #A262EC

    oklch(63% 0.202 302.3)

  7. Step 600

    600 (this color)

    #8F45DC

    oklch(56% 0.219 302.2)

  8. Step 700

    700

    #7933BE

    oklch(49.1% 0.205 302.3)

  9. Step 800

    800

    #622C99

    oklch(42.6% 0.169 302.4)

  10. Step 900

    900

    #502A7A

    oklch(37.8% 0.131 302.4)

  11. Step 950

    950

    #2F1A47

    oklch(27.1% 0.082 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#8F45DC 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)#006CE00.161
Deuteranopia (no green cones)#006CD90.162
Tritanopia (no blue cones)#7F688B0.161
Achromatopsia (no color)#6D6D6D0.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F45DC

    #8F45DC

    oklch(56% 0.219 302.2)

  • #678000

    #678000

    oklch(56% 0.136 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F45DC

    #8F45DC

    oklch(56% 0.219 302.2)

  • #4E5FF2

    #4E5FF2

    oklch(56.1% 0.219 272.2)

  • #B82DAB

    #B82DAB

    oklch(56% 0.218 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #8F45DC

    #8F45DC

    oklch(56% 0.219 302.2)

  • #8D7200

    #8D7200

    oklch(56.2% 0.115 92.3)

  • #008C47

    #008C47

    oklch(56.1% 0.147 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F45DC

    #8F45DC

    oklch(56% 0.219 302.2)

  • #A96000

    #A96000

    oklch(56.1% 0.129 61.9)

  • #008779

    #008779

    oklch(55.9% 0.1 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F45DC

    #8F45DC

    oklch(56% 0.219 302.2)

  • #D42600

    #D42600

    oklch(56.1% 0.211 32.2)

  • #678000

    #678000

    oklch(56% 0.136 122.3)

  • #008396

    #008396

    oklch(56% 0.098 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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