#783166

Closest named color: Velvet (#750851). oklch(43.1% 0.12 338.4), rgb(120, 49, 102).

Aa

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

About this color

#783166 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.120 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.066 away. White text reads best on it, at 8.64:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.42:1
White text8.64:1

Values

HEX#783166
RGBrgb(120, 49, 102)
HSLhsl(315, 42%, 33%)
OKLCHoklch(43.1% 0.12 338.4)

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 #783166 8.64:1 AAA Lc -93.7 Preferred for body text
Black text on #783166 2.42:1 Fails Lc 14.8 Not readable
#783166 text on white 8.64:1 AAA Lc 89.1 Fine for body text
#783166 text on black 2.42:1 Fails Lc -13.1 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

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #EBD0E2

    oklch(88.5% 0.038 338.1)

  4. Step 300

    300

    #E0B0D0

    oklch(81% 0.07 338.9)

  5. Step 400

    400

    #CE84B8

    oklch(70.6% 0.113 338.5)

  6. Step 500

    500

    #C064A7

    oklch(63.2% 0.143 338.4)

  7. Step 600

    600

    #AB4892

    oklch(55.6% 0.157 338.4)

  8. Step 700

    700

    #92397C

    oklch(49.1% 0.145 338.4)

  9. Step 800

    800 (this color)

    #783166

    oklch(43.1% 0.12 338.4)

  10. Step 900

    900

    #602B52

    oklch(37.6% 0.093 338.4)

  11. Step 950

    950

    #391A30

    oklch(27.1% 0.059 339.2)

Export this scale for Tailwind in the Tailwind colors tool

#783166 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)#3345680.127
Deuteranopia (no green cones)#4850640.113
Tritanopia (no blue cones)#7E33470.056
Achromatopsia (no color)#4C4C4C0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #783166

    #783166

    oklch(43.1% 0.12 338.4)

  • #00603A

    #00603A

    oklch(43.1% 0.101 158.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #783166

    #783166

    oklch(43.1% 0.12 338.4)

  • #633A81

    #633A81

    oklch(43.1% 0.12 308.9)

  • #842D43

    #842D43

    oklch(43.1% 0.12 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #783166

    #783166

    oklch(43.1% 0.12 338.4)

  • #3D5B00

    #3D5B00

    oklch(43.1% 0.113 128.4)

  • #005D58

    #005D58

    oklch(43.1% 0.075 188.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #783166

    #783166

    oklch(43.1% 0.12 338.4)

  • #5D5000

    #5D5000

    oklch(43.1% 0.089 98.4)

  • #005A6C

    #005A6C

    oklch(43.1% 0.077 217.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #783166

    #783166

    oklch(43.1% 0.12 338.4)

  • #714400

    #714400

    oklch(43% 0.094 67.9)

  • #00603A

    #00603A

    oklch(43.1% 0.101 158.1)

  • #00528C

    #00528C

    oklch(42.9% 0.117 248.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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