#7841B5

Closest named color: Bluey Purple (#6241C7). oklch(50.1% 0.177 302.2), rgb(120, 65, 181).

Aa

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

About this color

#7841B5 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.177 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.050 away. White text reads best on it, at 6.51:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.177)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.22:1
White text6.51:1

Values

HEX#7841B5
RGBrgb(120, 65, 181)
HSLhsl(268, 47%, 48%)
OKLCHoklch(50.1% 0.177 302.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 #7841B5 6.51:1 AA Lc -86.9 Fine for body text
Black text on #7841B5 3.22:1 AA large text Lc 22.3 Dividers and decoration only
#7841B5 text on white 6.51:1 AA Lc 81.8 Fine for body text
#7841B5 text on black 3.22:1 AA large text Lc -20.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F4

    oklch(88.5% 0.048 302.8)

  4. Step 300

    300

    #CBB4EF

    oklch(80.9% 0.085 302.4)

  5. Step 400

    400

    #B18AE7

    oklch(70.6% 0.138 302.3)

  6. Step 500

    500

    #9E6AE0

    oklch(63.1% 0.175 302)

  7. Step 600

    600

    #8A4ECD

    oklch(55.6% 0.19 302.4)

  8. Step 700

    700 (this color)

    #7841B5

    oklch(50.1% 0.177 302.2)

  9. Step 800

    800

    #5F3490

    oklch(42.7% 0.147 302)

  10. Step 900

    900

    #4E2F73

    oklch(37.8% 0.114 302.3)

  11. Step 950

    950

    #2D1C43

    oklch(26.9% 0.072 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#7841B5 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)#005DB90.136
Deuteranopia (no green cones)#185DB20.130
Tritanopia (no blue cones)#6C5A750.131
Achromatopsia (no color)#5E5E5E0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #7841B5

    #7841B5

    oklch(50.1% 0.177 302.2)

  • #586E00

    #586E00

    oklch(50.2% 0.122 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7841B5

    #7841B5

    oklch(50.1% 0.177 302.2)

  • #4454C6

    #4454C6

    oklch(50% 0.177 272.3)

  • #99308F

    #99308F

    oklch(50% 0.177 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #7841B5

    #7841B5

    oklch(50.1% 0.177 302.2)

  • #786100

    #786100

    oklch(50.1% 0.103 92.6)

  • #00783C

    #00783C

    oklch(50.2% 0.131 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7841B5

    #7841B5

    oklch(50.1% 0.177 302.2)

  • #915200

    #915200

    oklch(50.2% 0.115 62.3)

  • #007467

    #007467

    oklch(50.1% 0.09 181.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7841B5

    #7841B5

    oklch(50.1% 0.177 302.2)

  • #B22911

    #B22911

    oklch(50.1% 0.177 32.2)

  • #586E00

    #586E00

    oklch(50.2% 0.122 122.3)

  • #007081

    #007081

    oklch(50.1% 0.088 212.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7841B5 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.