#791862

Closest named color: Velvet (#750851). oklch(40.3% 0.153 339.7), rgb(121, 24, 98).

Aa

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

About this color

#791862 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.153 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.032 away. White text reads best on it, at 9.90:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.12:1
White text9.90:1

Values

HEX#791862
RGBrgb(121, 24, 98)
HSLhsl(314, 67%, 28%)
OKLCHoklch(40.3% 0.153 339.7)

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 #791862 9.90:1 AAA Lc -96.1 Preferred for body text
Black text on #791862 2.12:1 Fails Lc 12.2 Not readable
#791862 text on white 9.90:1 AAA Lc 91.8 Preferred for body text
#791862 text on black 2.12:1 Fails Lc -10.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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E8AAD3

    oklch(80.8% 0.09 339.6)

  5. Step 400

    400

    #DA7BBD

    oklch(70.8% 0.142 339.6)

  6. Step 500

    500

    #CD54AC

    oklch(63% 0.183 339.6)

  7. Step 600

    600

    #B83397

    oklch(55.5% 0.198 339.7)

  8. Step 700

    700

    #9E2481

    oklch(49% 0.184 339.6)

  9. Step 800

    800 (this color)

    #791862

    oklch(40.3% 0.153 339.7)

  10. Step 900

    900

    #682255

    oklch(37.7% 0.118 340)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#791862 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)#1F39640.169
Deuteranopia (no green cones)#3F48600.145
Tritanopia (no blue cones)#801C3B0.071
Achromatopsia (no color)#4343430.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #791862

    #791862

    oklch(40.3% 0.153 339.7)

  • #005736

    #005736

    oklch(40.3% 0.092 159.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #791862

    #791862

    oklch(40.3% 0.153 339.7)

  • #612784

    #612784

    oklch(40.3% 0.152 309.8)

  • #860D36

    #860D36

    oklch(40.3% 0.152 9.5)

Open the analogous palette in the generator

Split complementary

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

  • #791862

    #791862

    oklch(40.3% 0.153 339.7)

  • #355300

    #355300

    oklch(40.3% 0.108 129.5)

  • #005451

    #005451

    oklch(40.3% 0.069 190.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #791862

    #791862

    oklch(40.3% 0.153 339.7)

  • #534900

    #534900

    oklch(40.3% 0.084 100.4)

  • #005163

    #005163

    oklch(40.2% 0.073 219.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #791862

    #791862

    oklch(40.3% 0.153 339.7)

  • #663E00

    #663E00

    oklch(40.2% 0.088 69.3)

  • #005736

    #005736

    oklch(40.3% 0.092 159.4)

  • #004A82

    #004A82

    oklch(40.2% 0.113 249.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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