#792DC4

Closest named color: Grape (#7209B7). oklch(49% 0.217 301.4), rgb(121, 45, 196).

Aa

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

About this color

#792DC4 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.217 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape (#7209B7), ΔE 0.046 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.217)
Temperaturein between
Nearest nameGrape (#7209B7)
Black text2.98:1
White text7.03:1

Values

HEX#792DC4
RGBrgb(121, 45, 196)
HSLhsl(270, 63%, 47%)
OKLCHoklch(49% 0.217 301.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 #792DC4 7.03:1 AAA Lc -88.3 Fine for body text
Black text on #792DC4 2.98:1 Fails Lc 20.7 Dividers and decoration only
#792DC4 text on white 7.03:1 AAA Lc 83.3 Fine for body text
#792DC4 text on black 2.98:1 Fails Lc -18.6 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1FA

    oklch(88.6% 0.058 301.9)

  4. Step 300

    300

    #CCB1FA

    oklch(80.9% 0.105 301.1)

  5. Step 400

    400

    #B484F7

    oklch(70.7% 0.168 301.5)

  6. Step 500

    500

    #A25FF3

    oklch(63.1% 0.214 301.3)

  7. Step 600

    600

    #8E3EE2

    oklch(55.6% 0.233 301.3)

  8. Step 700

    700 (this color)

    #792DC4

    oklch(49% 0.217 301.4)

  9. Step 800

    800

    #62289F

    oklch(42.6% 0.18 301.1)

  10. Step 900

    900

    #50277E

    oklch(37.6% 0.141 301.6)

  11. Step 950

    950

    #2F184A

    oklch(27% 0.09 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#792DC4 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)#0058C80.149
Deuteranopia (no green cones)#0058C10.151
Tritanopia (no blue cones)#6855780.158
Achromatopsia (no color)#5959590.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #792DC4

    #792DC4

    oklch(49% 0.217 301.4)

  • #566A00

    #566A00

    oklch(49% 0.118 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #792DC4

    #792DC4

    oklch(49% 0.217 301.4)

  • #3B48D8

    #3B48D8

    oklch(49% 0.217 271.5)

  • #9F0996

    #9F0996

    oklch(49% 0.217 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #792DC4

    #792DC4

    oklch(49% 0.217 301.4)

  • #755E00

    #755E00

    oklch(49.1% 0.1 92.1)

  • #007437

    #007437

    oklch(48.9% 0.131 151.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #792DC4

    #792DC4

    oklch(49% 0.217 301.4)

  • #8D4F00

    #8D4F00

    oklch(49.1% 0.113 61.8)

  • #007064

    #007064

    oklch(48.9% 0.088 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #792DC4

    #792DC4

    oklch(49% 0.217 301.4)

  • #B31900

    #B31900

    oklch(49.1% 0.189 31.4)

  • #566A00

    #566A00

    oklch(49% 0.118 121.7)

  • #006D7C

    #006D7C

    oklch(49% 0.085 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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