#790398

Closest named color: Purple (#800080). oklch(42.8% 0.207 316.5), rgb(121, 3, 152).

Aa

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

About this color

#790398 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.207 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.044 away. White text reads best on it, at 9.21:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.207)
Temperaturein between
Nearest namePurple (#800080)
Black text2.27:1
White text9.21:1

Values

HEX#790398
RGBrgb(121, 3, 152)
HSLhsl(288, 96%, 30%)
OKLCHoklch(42.8% 0.207 316.5)

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 #790398 9.21:1 AAA Lc -93.7 Preferred for body text
Black text on #790398 2.27:1 Fails Lc 14.8 Not readable
#790398 text on white 9.21:1 AAA Lc 89.2 Fine for body text
#790398 text on black 2.27: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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EBCCF7

    oklch(88.5% 0.067 316.5)

  4. Step 300

    300

    #E0A8F5

    oklch(80.9% 0.121 316.6)

  5. Step 400

    400

    #CF74F0

    oklch(70.7% 0.194 316.4)

  6. Step 500

    500

    #C144EA

    oklch(63% 0.248 316.4)

  7. Step 600

    600

    #AD06D8

    oklch(55.6% 0.269 316.5)

  8. Step 700

    700

    #9300B8

    oklch(49.2% 0.24 316.6)

  9. Step 800

    800 (this color)

    #790398

    oklch(42.8% 0.207 316.5)

  10. Step 900

    900

    #611679

    oklch(37.7% 0.161 316.1)

  11. Step 950

    950

    #391047

    oklch(27% 0.103 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#790398 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)#00429B0.182
Deuteranopia (no green cones)#004A950.186
Tritanopia (no blue cones)#7732580.129
Achromatopsia (no color)#4848480.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #790398

    #790398

    oklch(42.8% 0.207 316.5)

  • #295E00

    #295E00

    oklch(42.8% 0.128 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #790398

    #790398

    oklch(42.8% 0.207 316.5)

  • #4F27B8

    #4F27B8

    oklch(42.8% 0.208 286.3)

  • #8D0063

    #8D0063

    oklch(42.8% 0.181 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #790398

    #790398

    oklch(42.8% 0.207 316.5)

  • #565200

    #565200

    oklch(42.9% 0.092 106.4)

  • #005E44

    #005E44

    oklch(42.7% 0.088 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #790398

    #790398

    oklch(42.8% 0.207 316.5)

  • #6B4700

    #6B4700

    oklch(42.8% 0.09 75.9)

  • #005B5D

    #005B5D

    oklch(42.7% 0.073 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #790398

    #790398

    oklch(42.8% 0.207 316.5)

  • #823500

    #823500

    oklch(42.9% 0.12 46.5)

  • #295E00

    #295E00

    oklch(42.8% 0.128 136.5)

  • #005872

    #005872

    oklch(42.9% 0.082 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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