#792E8B

Closest named color: Rebecca Purple (#663399). oklch(44.9% 0.159 319.3), rgb(121, 46, 139).

Aa

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

About this color

#792E8B is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.159 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.045 away. White text reads best on it, at 8.15:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.159)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.57:1
White text8.15:1

Values

HEX#792E8B
RGBrgb(121, 46, 139)
HSLhsl(288, 50%, 36%)
OKLCHoklch(44.9% 0.159 319.3)

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 #792E8B 8.15:1 AAA Lc -92.2 Preferred for body text
Black text on #792E8B 2.57:1 Fails Lc 16.5 Dividers and decoration only
#792E8B text on white 8.15:1 AAA Lc 87.5 Fine for body text
#792E8B text on black 2.57:1 Fails Lc -14.6 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F5

    oklch(93.5% 0.027 320.2)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DBAEE7

    oklch(81% 0.092 319.1)

  5. Step 400

    400

    #C880DA

    oklch(70.7% 0.148 319.4)

  6. Step 500

    500

    #B95BD0

    oklch(63% 0.19 319.4)

  7. Step 600

    600

    #A43CBD

    oklch(55.5% 0.206 319.2)

  8. Step 700

    700

    #8D2CA3

    oklch(49.1% 0.193 319.5)

  9. Step 800

    800 (this color)

    #792E8B

    oklch(44.9% 0.159 319.3)

  10. Step 900

    900

    #5D266A

    oklch(37.8% 0.124 319.5)

  11. Step 950

    950

    #36173E

    oklch(26.9% 0.079 319)

Export this scale for Tailwind in the Tailwind colors tool

#792E8B 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)#104A8E0.157
Deuteranopia (no green cones)#3452890.135
Tritanopia (no blue cones)#793E580.099
Achromatopsia (no color)#4F4F4F0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #792E8B

    #792E8B

    oklch(44.9% 0.159 319.3)

  • #206600

    #206600

    oklch(44.8% 0.142 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #792E8B

    #792E8B

    oklch(44.9% 0.159 319.3)

  • #563EA5

    #563EA5

    oklch(44.9% 0.158 289.1)

  • #902062

    #902062

    oklch(44.9% 0.16 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #792E8B

    #792E8B

    oklch(44.9% 0.159 319.3)

  • #595900

    #595900

    oklch(44.9% 0.098 109.8)

  • #00654D

    #00654D

    oklch(45.1% 0.09 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #792E8B

    #792E8B

    oklch(44.9% 0.159 319.3)

  • #704E00

    #704E00

    oklch(44.9% 0.093 79.7)

  • #006165

    #006165

    oklch(44.8% 0.076 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #792E8B

    #792E8B

    oklch(44.9% 0.159 319.3)

  • #873C00

    #873C00

    oklch(44.9% 0.119 49.6)

  • #206600

    #206600

    oklch(44.8% 0.142 139.2)

  • #005D7C

    #005D7C

    oklch(44.8% 0.089 229.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #792E8B 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.