#8F45C7

Closest named color: Dark Orchid (#9932CC). oklch(54.5% 0.197 307.2), rgb(143, 69, 199).

Aa

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

About this color

#8F45C7 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.197 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.035 away. White text reads best on it, at 5.46:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.197)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.84:1
White text5.46:1

Values

HEX#8F45C7
RGBrgb(143, 69, 199)
HSLhsl(274, 54%, 53%)
OKLCHoklch(54.5% 0.197 307.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 #8F45C7 5.46:1 AA Lc -82.0 Fine for body text
Black text on #8F45C7 3.84:1 AA large text Lc 27.4 Dividers and decoration only
#8F45C7 text on white 5.46:1 AA Lc 76.6 Fine for body text
#8F45C7 text on black 3.84:1 AA large text Lc -25.1 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D0B2EE

    oklch(81% 0.089 307.2)

  5. Step 400

    400

    #B887E5

    oklch(70.7% 0.142 307.1)

  6. Step 500

    500

    #A765DD

    oklch(63.1% 0.182 307.4)

  7. Step 600

    600 (this color)

    #8F45C7

    oklch(54.5% 0.197 307.2)

  8. Step 700

    700

    #7D39AF

    oklch(49.2% 0.182 307.4)

  9. Step 800

    800

    #65308E

    oklch(42.7% 0.152 307)

  10. Step 900

    900

    #522C71

    oklch(37.7% 0.117 307.1)

  11. Step 950

    950

    #301B42

    oklch(27% 0.073 307)

Export this scale for Tailwind in the Tailwind colors tool

#8F45C7 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)#0067CB0.165
Deuteranopia (no green cones)#296AC40.153
Tritanopia (no blue cones)#8660800.139
Achromatopsia (no color)#6969690.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F45C7

    #8F45C7

    oklch(54.5% 0.197 307.2)

  • #597E00

    #597E00

    oklch(54.5% 0.141 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F45C7

    #8F45C7

    oklch(54.5% 0.197 307.2)

  • #595BDF

    #595BDF

    oklch(54.6% 0.196 277)

  • #B23298

    #B23298

    oklch(54.5% 0.196 337.3)

Open the analogous palette in the generator

Split complementary

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

  • #8F45C7

    #8F45C7

    oklch(54.5% 0.197 307.2)

  • #837000

    #837000

    oklch(54.7% 0.113 97.3)

  • #008651

    #008651

    oklch(54.6% 0.129 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F45C7

    #8F45C7

    oklch(54.5% 0.197 307.2)

  • #9E6000

    #9E6000

    oklch(54.6% 0.121 67.1)

  • #00827A

    #00827A

    oklch(54.6% 0.095 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F45C7

    #8F45C7

    oklch(54.5% 0.197 307.2)

  • #C33900

    #C33900

    oklch(54.6% 0.182 37.1)

  • #597E00

    #597E00

    oklch(54.5% 0.141 127.3)

  • #007E95

    #007E95

    oklch(54.7% 0.097 216.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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