#803174

Closest named color: Light Eggplant (#894585). oklch(45% 0.137 334), rgb(128, 49, 116).

Aa

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

About this color

#803174 is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.137 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.052 away. White text reads best on it, at 8.04:1.

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.60:1
White text8.04:1

Values

HEX#803174
RGBrgb(128, 49, 116)
HSLhsl(309, 45%, 35%)
OKLCHoklch(45% 0.137 334)

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 #803174 8.04:1 AAA Lc -92.0 Preferred for body text
Black text on #803174 2.60:1 Fails Lc 16.8 Dividers and decoration only
#803174 text on white 8.04:1 AAA Lc 87.2 Fine for body text
#803174 text on black 2.60:1 Fails Lc -14.9 Not readable

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 800.

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #ECCFE5

    oklch(88.5% 0.043 334.3)

  4. Step 300

    300

    #E1AED6

    oklch(80.9% 0.079 334)

  5. Step 400

    400

    #D181C2

    oklch(70.8% 0.129 334)

  6. Step 500

    500

    #C25EB2

    oklch(63.1% 0.164 333.7)

  7. Step 600

    600

    #AE409D

    oklch(55.6% 0.179 334.3)

  8. Step 700

    700

    #953187

    oklch(49.1% 0.167 333.9)

  9. Step 800

    800 (this color)

    #803174

    oklch(45% 0.137 334)

  10. Step 900

    900

    #622859

    oklch(37.8% 0.107 333.8)

  11. Step 950

    950

    #3A1834

    oklch(27.1% 0.068 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#803174 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)#3049760.144
Deuteranopia (no green cones)#4954720.125
Tritanopia (no blue cones)#86364E0.069
Achromatopsia (no color)#5050500.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #803174

    #803174

    oklch(45% 0.137 334)

  • #006736

    #006736

    oklch(45.1% 0.114 153.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #803174

    #803174

    oklch(45% 0.137 334)

  • #663D92

    #663D92

    oklch(45% 0.137 303.6)

  • #8F2A4C

    #8F2A4C

    oklch(44.9% 0.138 4.1)

Open the analogous palette in the generator

Split complementary

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

  • #803174

    #803174

    oklch(45% 0.137 334)

  • #485F00

    #485F00

    oklch(45% 0.112 124.4)

  • #00635A

    #00635A

    oklch(44.9% 0.079 184.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #803174

    #803174

    oklch(45% 0.137 334)

  • #665300

    #665300

    oklch(44.8% 0.092 93.6)

  • #006070

    #006070

    oklch(45% 0.079 214.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #803174

    #803174

    oklch(45% 0.137 334)

  • #7B4700

    #7B4700

    oklch(45% 0.101 64.5)

  • #006736

    #006736

    oklch(45.1% 0.114 153.7)

  • #005A8D

    #005A8D

    oklch(45% 0.11 243.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #803174 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.