#7B34B6

Closest named color: Grape (#7209B7). oklch(48.9% 0.196 305.1), rgb(123, 52, 182).

Aa

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

About this color

#7B34B6 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.196 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape (#7209B7), ΔE 0.053 away. White text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.196)
Temperaturein between
Nearest nameGrape (#7209B7)
Black text3.00:1
White text6.97:1

Values

HEX#7B34B6
RGBrgb(123, 52, 182)
HSLhsl(273, 56%, 46%)
OKLCHoklch(48.9% 0.196 305.1)

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 #7B34B6 6.97:1 AA Lc -88.4 Fine for body text
Black text on #7B34B6 3.00:1 AA large text Lc 20.7 Dividers and decoration only
#7B34B6 text on white 6.97:1 AA Lc 83.4 Fine for body text
#7B34B6 text on black 3.00:1 AA large text Lc -18.6 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

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F6

    oklch(88.5% 0.053 304.9)

  4. Step 300

    300

    #CFB1F2

    oklch(80.9% 0.095 305.4)

  5. Step 400

    400

    #B786EB

    oklch(70.7% 0.151 305.2)

  6. Step 500

    500

    #A663E5

    oklch(63.2% 0.193 305.3)

  7. Step 600

    600

    #9145D3

    oklch(55.6% 0.21 305)

  8. Step 700

    700 (this color)

    #7B34B6

    oklch(48.9% 0.196 305.1)

  9. Step 800

    800

    #642D94

    oklch(42.6% 0.162 304.9)

  10. Step 900

    900

    #522A76

    oklch(37.7% 0.127 305.4)

  11. Step 950

    950

    #301A45

    oklch(27.1% 0.079 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#7B34B6 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)#0057BA0.151
Deuteranopia (no green cones)#0059B30.153
Tritanopia (no blue cones)#7053720.140
Achromatopsia (no color)#5959590.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B34B6

    #7B34B6

    oklch(48.9% 0.196 305.1)

  • #506B00

    #506B00

    oklch(48.8% 0.123 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B34B6

    #7B34B6

    oklch(48.9% 0.196 305.1)

  • #464ACC

    #464ACC

    oklch(48.9% 0.197 275)

  • #9D1E8A

    #9D1E8A

    oklch(48.9% 0.195 335.3)

Open the analogous palette in the generator

Split complementary

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

  • #7B34B6

    #7B34B6

    oklch(48.9% 0.196 305.1)

  • #725F00

    #725F00

    oklch(49% 0.101 95.4)

  • #007340

    #007340

    oklch(48.8% 0.121 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B34B6

    #7B34B6

    oklch(48.9% 0.196 305.1)

  • #895100

    #895100

    oklch(48.9% 0.109 65.7)

  • #007067

    #007067

    oklch(49% 0.086 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B34B6

    #7B34B6

    oklch(48.9% 0.196 305.1)

  • #AB2A00

    #AB2A00

    oklch(48.8% 0.171 35.1)

  • #506B00

    #506B00

    oklch(48.8% 0.123 125.1)

  • #006C7F

    #006C7F

    oklch(48.9% 0.087 215.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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