#792C8E

Closest named color: Rebecca Purple (#663399). oklch(44.9% 0.165 318.2), rgb(121, 44, 142).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.165)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.56:1
White text8.19:1

Values

HEX#792C8E
RGBrgb(121, 44, 142)
HSLhsl(287, 53%, 36%)
OKLCHoklch(44.9% 0.165 318.2)

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 #792C8E 8.19:1 AAA Lc -92.2 Preferred for body text
Black text on #792C8E 2.56:1 Fails Lc 16.5 Dividers and decoration only
#792C8E text on white 8.19:1 AAA Lc 87.6 Fine for body text
#792C8E text on black 2.56: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

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CFF0

    oklch(88.6% 0.053 319)

  4. Step 300

    300

    #DBADE9

    oklch(80.9% 0.096 318.2)

  5. Step 400

    400

    #C87FDE

    oklch(70.7% 0.154 318.1)

  6. Step 500

    500

    #B959D4

    oklch(63% 0.197 318.3)

  7. Step 600

    600

    #A539C1

    oklch(55.6% 0.214 318.5)

  8. Step 700

    700

    #8D29A7

    oklch(49.1% 0.2 318.3)

  9. Step 800

    800 (this color)

    #792C8E

    oklch(44.9% 0.165 318.2)

  10. Step 900

    900

    #5D256C

    oklch(37.8% 0.128 318.6)

  11. Step 950

    950

    #36173F

    oklch(27% 0.08 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#792C8E 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)#014A910.163
Deuteranopia (no green cones)#31518C0.139
Tritanopia (no blue cones)#793E590.104
Achromatopsia (no color)#4F4F4F0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #792C8E

    #792C8E

    oklch(44.9% 0.165 318.2)

  • #256500

    #256500

    oklch(44.7% 0.139 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #792C8E

    #792C8E

    oklch(44.9% 0.165 318.2)

  • #553DA9

    #553DA9

    oklch(44.9% 0.165 288.1)

  • #911D64

    #911D64

    oklch(44.9% 0.165 348.5)

Open the analogous palette in the generator

Split complementary

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

  • #792C8E

    #792C8E

    oklch(44.9% 0.165 318.2)

  • #5A5800

    #5A5800

    oklch(44.8% 0.097 108.2)

  • #00654B

    #00654B

    oklch(45% 0.091 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #792C8E

    #792C8E

    oklch(44.9% 0.165 318.2)

  • #714D00

    #714D00

    oklch(44.8% 0.094 77.8)

  • #006164

    #006164

    oklch(44.7% 0.076 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #792C8E

    #792C8E

    oklch(44.9% 0.165 318.2)

  • #883B00

    #883B00

    oklch(44.9% 0.121 48.6)

  • #256500

    #256500

    oklch(44.7% 0.139 138.2)

  • #005E7B

    #005E7B

    oklch(45% 0.087 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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