#8F04BF

Closest named color: Dark Violet (#9400D3). oklch(49.2% 0.243 313.1), rgb(143, 4, 191).

Aa

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

About this color

#8F04BF is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.243 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Violet (#9400D3), ΔE 0.032 away. White text reads best on it, at 7.14:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.243)
Temperaturein between
Nearest nameDark Violet (#9400D3)
Black text2.93:1
White text7.14:1

Values

HEX#8F04BF
RGBrgb(143, 4, 191)
HSLhsl(285, 96%, 38%)
OKLCHoklch(49.2% 0.243 313.1)

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 #8F04BF 7.14:1 AAA Lc -87.6 Fine for body text
Black text on #8F04BF 2.93:1 Fails Lc 21.5 Dividers and decoration only
#8F04BF text on white 7.14:1 AAA Lc 82.6 Fine for body text
#8F04BF text on black 2.93:1 Fails Lc -19.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E9CDF8

    oklch(88.5% 0.065 313.9)

  4. Step 300

    300

    #DBAAF7

    oklch(80.9% 0.118 312.8)

  5. Step 400

    400

    #C978F2

    oklch(70.8% 0.187 313.2)

  6. Step 500

    500

    #BB4BED

    oklch(63.1% 0.24 313.4)

  7. Step 600

    600

    #A61CDC

    oklch(55.6% 0.262 312.9)

  8. Step 700

    700 (this color)

    #8F04BF

    oklch(49.2% 0.243 313.1)

  9. Step 800

    800

    #74109A

    oklch(42.7% 0.201 313.3)

  10. Step 900

    900

    #5E1B7B

    oklch(37.8% 0.157 313.2)

  11. Step 950

    950

    #371248

    oklch(27% 0.1 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#8F04BF 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)#0052C30.201
Deuteranopia (no green cones)#005ABC0.205
Tritanopia (no blue cones)#89436F0.158
Achromatopsia (no color)#5858580.245

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F04BF

    #8F04BF

    oklch(49.2% 0.243 313.1)

  • #3F7100

    #3F7100

    oklch(49.4% 0.14 133.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F04BF

    #8F04BF

    oklch(49.2% 0.243 313.1)

  • #5A33E2

    #5A33E2

    oklch(49.2% 0.243 283.1)

  • #A9007F

    #A9007F

    oklch(49.2% 0.211 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #8F04BF

    #8F04BF

    oklch(49.2% 0.243 313.1)

  • #6C6300

    #6C6300

    oklch(49.3% 0.104 103.3)

  • #00734F

    #00734F

    oklch(49.1% 0.106 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F04BF

    #8F04BF

    oklch(49.2% 0.243 313.1)

  • #845600

    #845600

    oklch(49.2% 0.105 73.4)

  • #00706E

    #00706E

    oklch(49.3% 0.084 192.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F04BF

    #8F04BF

    oklch(49.2% 0.243 313.1)

  • #A13D00

    #A13D00

    oklch(49.3% 0.145 43.3)

  • #3F7100

    #3F7100

    oklch(49.4% 0.14 133.2)

  • #006C87

    #006C87

    oklch(49.3% 0.092 222.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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