#8041BE

Closest named color: Purply (#983FB2). oklch(51.7% 0.189 303.6), rgb(128, 65, 190).

Aa

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

About this color

#8041BE is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.189 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 6.14:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.189)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.41:1
White text6.14:1

Values

HEX#8041BE
RGBrgb(128, 65, 190)
HSLhsl(270, 49%, 50%)
OKLCHoklch(51.7% 0.189 303.6)

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 #8041BE 6.14:1 AA Lc -85.3 Fine for body text
Black text on #8041BE 3.41:1 AA large text Lc 24.0 Dividers and decoration only
#8041BE text on white 6.14:1 AA Lc 80.1 Fine for body text
#8041BE text on black 3.41:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #E0D2F5

    oklch(88.6% 0.05 303.5)

  4. Step 300

    300

    #CDB2F1

    oklch(80.8% 0.092 304)

  5. Step 400

    400

    #B488EA

    oklch(70.7% 0.145 303.6)

  6. Step 500

    500

    #A266E4

    oklch(63.1% 0.187 303.5)

  7. Step 600

    600

    #8E49D2

    oklch(55.7% 0.203 303.6)

  8. Step 700

    700 (this color)

    #8041BE

    oklch(51.7% 0.189 303.6)

  9. Step 800

    800

    #623093

    oklch(42.7% 0.157 303.6)

  10. Step 900

    900

    #502C75

    oklch(37.7% 0.122 303.8)

  11. Step 950

    950

    #2F1B45

    oklch(27.1% 0.077 303.7)

Export this scale for Tailwind in the Tailwind colors tool

#8041BE 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)#0060C20.147
Deuteranopia (no green cones)#1561BB0.143
Tritanopia (no blue cones)#745D7A0.139
Achromatopsia (no color)#6262620.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #8041BE

    #8041BE

    oklch(51.7% 0.189 303.6)

  • #5A7300

    #5A7300

    oklch(51.7% 0.127 123.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8041BE

    #8041BE

    oklch(51.7% 0.189 303.6)

  • #4A56D2

    #4A56D2

    oklch(51.7% 0.189 273.6)

  • #A32E94

    #A32E94

    oklch(51.7% 0.189 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #8041BE

    #8041BE

    oklch(51.7% 0.189 303.6)

  • #7C6600

    #7C6600

    oklch(51.7% 0.106 94.1)

  • #007D42

    #007D42

    oklch(51.7% 0.132 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8041BE

    #8041BE

    oklch(51.7% 0.189 303.6)

  • #965600

    #965600

    oklch(51.6% 0.118 63.1)

  • #00796D

    #00796D

    oklch(51.7% 0.092 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8041BE

    #8041BE

    oklch(51.7% 0.189 303.6)

  • #BB2800

    #BB2800

    oklch(51.6% 0.187 33.6)

  • #5A7300

    #5A7300

    oklch(51.7% 0.127 123.3)

  • #007587

    #007587

    oklch(51.7% 0.09 213.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8041BE 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.