#7C3B98

Closest named color: Rebecca Purple (#663399). oklch(47.8% 0.154 314.4), rgb(124, 59, 152).

Aa

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

About this color

#7C3B98 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.154 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.049 away. White text reads best on it, at 7.15:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.154)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.93:1
White text7.15:1

Values

HEX#7C3B98
RGBrgb(124, 59, 152)
HSLhsl(282, 44%, 41%)
OKLCHoklch(47.8% 0.154 314.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 #7C3B98 7.15:1 AAA Lc -89.2 Fine for body text
Black text on #7C3B98 2.93:1 Fails Lc 19.7 Dividers and decoration only
#7C3B98 text on white 7.15:1 AAA Lc 84.3 Fine for body text
#7C3B98 text on black 2.93:1 Fails Lc -17.7 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D1ED

    oklch(88.4% 0.043 313.7)

  4. Step 300

    300

    #D3B3E3

    oklch(81% 0.075 314.4)

  5. Step 400

    400

    #BC89D4

    oklch(70.6% 0.12 314.5)

  6. Step 500

    500

    #AB6AC9

    oklch(63.2% 0.152 314.3)

  7. Step 600

    600

    #964FB5

    oklch(55.6% 0.165 314.5)

  8. Step 700

    700 (this color)

    #7C3B98

    oklch(47.8% 0.154 314.4)

  9. Step 800

    800

    #68357F

    oklch(42.8% 0.128 314.1)

  10. Step 900

    900

    #552F66

    oklch(37.8% 0.1 314.5)

  11. Step 950

    950

    #321C3C

    oklch(27.1% 0.064 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#7C3B98 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)#1D549B0.142
Deuteranopia (no green cones)#3859960.124
Tritanopia (no blue cones)#7A4B640.101
Achromatopsia (no color)#5858580.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C3B98

    #7C3B98

    oklch(47.8% 0.154 314.4)

  • #386D00

    #386D00

    oklch(47.9% 0.139 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C3B98

    #7C3B98

    oklch(47.8% 0.154 314.4)

  • #564AAF

    #564AAF

    oklch(47.7% 0.155 284.2)

  • #952F71

    #952F71

    oklch(47.8% 0.154 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C3B98

    #7C3B98

    oklch(47.8% 0.154 314.4)

  • #675F00

    #675F00

    oklch(47.8% 0.101 103.8)

  • #006E4E

    #006E4E

    oklch(47.7% 0.101 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C3B98

    #7C3B98

    oklch(47.8% 0.154 314.4)

  • #7E5300

    #7E5300

    oklch(47.8% 0.101 74.5)

  • #006B6B

    #006B6B

    oklch(47.8% 0.082 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C3B98

    #7C3B98

    oklch(47.8% 0.154 314.4)

  • #993C00

    #993C00

    oklch(47.8% 0.138 44.5)

  • #386D00

    #386D00

    oklch(47.9% 0.139 134.5)

  • #006783

    #006783

    oklch(47.8% 0.09 224.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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