#7831AD

Closest named color: Rebecca Purple (#663399). oklch(47.5% 0.189 306.6), rgb(120, 49, 173).

Aa

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

About this color

#7831AD is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.189 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.046 away. White text reads best on it, at 7.39:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.189)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.84:1
White text7.39:1

Values

HEX#7831AD
RGBrgb(120, 49, 173)
HSLhsl(274, 56%, 44%)
OKLCHoklch(47.5% 0.189 306.6)

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 #7831AD 7.39:1 AAA Lc -89.8 Fine for body text
Black text on #7831AD 2.84:1 Fails Lc 19.2 Dividers and decoration only
#7831AD text on white 7.39:1 AAA Lc 84.9 Fine for body text
#7831AD text on black 2.84:1 Fails Lc -17.1 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F4

    oklch(88.5% 0.051 307.2)

  4. Step 300

    300

    #D0B1F0

    oklch(80.9% 0.093 306.8)

  5. Step 400

    400

    #B886E8

    oklch(70.7% 0.147 306.5)

  6. Step 500

    500

    #A764E0

    oklch(63.1% 0.187 306.8)

  7. Step 600

    600

    #9246CE

    oklch(55.5% 0.204 306.5)

  8. Step 700

    700 (this color)

    #7831AD

    oklch(47.5% 0.189 306.6)

  9. Step 800

    800

    #652E90

    oklch(42.6% 0.157 306.6)

  10. Step 900

    900

    #522B73

    oklch(37.6% 0.122 306.4)

  11. Step 950

    950

    #301A43

    oklch(26.9% 0.077 306.7)

Export this scale for Tailwind in the Tailwind colors tool

#7831AD 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)#0053B10.150
Deuteranopia (no green cones)#0156AA0.153
Tritanopia (no blue cones)#6F4E6C0.134
Achromatopsia (no color)#5656560.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #7831AD

    #7831AD

    oklch(47.5% 0.189 306.6)

  • #4A6800

    #4A6800

    oklch(47.6% 0.122 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7831AD

    #7831AD

    oklch(47.5% 0.189 306.6)

  • #4746C3

    #4746C3

    oklch(47.5% 0.189 276.7)

  • #981C82

    #981C82

    oklch(47.5% 0.189 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #7831AD

    #7831AD

    oklch(47.5% 0.189 306.6)

  • #6C5B00

    #6C5B00

    oklch(47.4% 0.098 96.4)

  • #006E41

    #006E41

    oklch(47.4% 0.113 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7831AD

    #7831AD

    oklch(47.5% 0.189 306.6)

  • #834E00

    #834E00

    oklch(47.5% 0.105 66.4)

  • #006B64

    #006B64

    oklch(47.5% 0.083 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7831AD

    #7831AD

    oklch(47.5% 0.189 306.6)

  • #A22D00

    #A22D00

    oklch(47.5% 0.16 36.8)

  • #4A6800

    #4A6800

    oklch(47.6% 0.122 126.8)

  • #00677B

    #00677B

    oklch(47.4% 0.085 217.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7831AD 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.