#803E98

Closest named color: Light Eggplant (#894585). oklch(48.7% 0.152 316.1), rgb(128, 62, 152).

Aa

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

About this color

#803E98 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.152 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.043 away. White text reads best on it, at 6.86:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.06:1
White text6.86:1

Values

HEX#803E98
RGBrgb(128, 62, 152)
HSLhsl(284, 42%, 42%)
OKLCHoklch(48.7% 0.152 316.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 #803E98 6.86:1 AA Lc -88.2 Fine for body text
Black text on #803E98 3.06:1 AA large text Lc 20.8 Dividers and decoration only
#803E98 text on white 6.86:1 AA Lc 83.2 Fine for body text
#803E98 text on black 3.06:1 AA large text Lc -18.7 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1EC

    oklch(88.4% 0.042 316)

  4. Step 300

    300

    #D4B3E1

    oklch(81% 0.073 316.4)

  5. Step 400

    400

    #BD89D2

    oklch(70.7% 0.118 315.9)

  6. Step 500

    500

    #AC6AC6

    oklch(63.1% 0.15 315.8)

  7. Step 600

    600

    #974FB2

    oklch(55.5% 0.163 316)

  8. Step 700

    700 (this color)

    #803E98

    oklch(48.7% 0.152 316.1)

  9. Step 800

    800

    #69357C

    oklch(42.7% 0.125 316.2)

  10. Step 900

    900

    #552F64

    oklch(37.7% 0.097 315.7)

  11. Step 950

    950

    #321C3B

    oklch(27% 0.062 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#803E98 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)#26569B0.139
Deuteranopia (no green cones)#3F5C960.122
Tritanopia (no blue cones)#7F4D650.099
Achromatopsia (no color)#5A5A5A0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #803E98

    #803E98

    oklch(48.7% 0.152 316.1)

  • #347100

    #347100

    oklch(48.8% 0.146 136.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #803E98

    #803E98

    oklch(48.7% 0.152 316.1)

  • #5B4DB0

    #5B4DB0

    oklch(48.7% 0.152 285.8)

  • #983371

    #983371

    oklch(48.8% 0.151 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #803E98

    #803E98

    oklch(48.7% 0.152 316.1)

  • #686300

    #686300

    oklch(48.9% 0.104 106.2)

  • #007152

    #007152

    oklch(48.6% 0.101 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #803E98

    #803E98

    oklch(48.7% 0.152 316.1)

  • #805600

    #805600

    oklch(48.7% 0.102 76.1)

  • #006E6F

    #006E6F

    oklch(48.8% 0.083 195.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #803E98

    #803E98

    oklch(48.7% 0.152 316.1)

  • #9B4000

    #9B4000

    oklch(48.7% 0.137 46.2)

  • #347100

    #347100

    oklch(48.8% 0.146 136.1)

  • #006A88

    #006A88

    oklch(48.8% 0.093 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #803E98 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.