#7B47B8

Closest named color: Bluey Purple (#6241C7). oklch(51.5% 0.172 301.8), rgb(123, 71, 184).

Aa

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

About this color

#7B47B8 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.172 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.055 away. White text reads best on it, at 6.11:1.

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

Values

HEX#7B47B8
RGBrgb(123, 71, 184)
HSLhsl(268, 44%, 50%)
OKLCHoklch(51.5% 0.172 301.8)

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 #7B47B8 6.11:1 AA Lc -85.3 Fine for body text
Black text on #7B47B8 3.43:1 AA large text Lc 24.0 Dividers and decoration only
#7B47B8 text on white 6.11:1 AA Lc 80.1 Fine for body text
#7B47B8 text on black 3.43:1 AA large text Lc -21.8 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

    #ECE6F8

    oklch(93.5% 0.025 301.1)

  3. Step 200

    200

    #DED3F3

    oklch(88.6% 0.045 301.1)

  4. Step 300

    300

    #CAB4EE

    oklch(80.8% 0.084 301.9)

  5. Step 400

    400

    #B08BE6

    oklch(70.7% 0.134 301.8)

  6. Step 500

    500

    #9D6BDE

    oklch(63% 0.171 301.8)

  7. Step 600

    600

    #8950CC

    oklch(55.7% 0.186 301.8)

  8. Step 700

    700 (this color)

    #7B47B8

    oklch(51.5% 0.172 301.8)

  9. Step 800

    800

    #5E358F

    oklch(42.6% 0.144 301.5)

  10. Step 900

    900

    #4D3072

    oklch(37.8% 0.111 301.6)

  11. Step 950

    950

    #2D1C43

    oklch(26.9% 0.072 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#7B47B8 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)#0061BC0.135
Deuteranopia (no green cones)#2461B50.124
Tritanopia (no blue cones)#6F5F790.129
Achromatopsia (no color)#6262620.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B47B8

    #7B47B8

    oklch(51.5% 0.172 301.8)

  • #5C7200

    #5C7200

    oklch(51.6% 0.125 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B47B8

    #7B47B8

    oklch(51.5% 0.172 301.8)

  • #475AC9

    #475AC9

    oklch(51.6% 0.173 271.7)

  • #9C3793

    #9C3793

    oklch(51.4% 0.172 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #7B47B8

    #7B47B8

    oklch(51.5% 0.172 301.8)

  • #7D6500

    #7D6500

    oklch(51.5% 0.105 92.5)

  • #007D3D

    #007D3D

    oklch(51.6% 0.137 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B47B8

    #7B47B8

    oklch(51.5% 0.172 301.8)

  • #975500

    #975500

    oklch(51.6% 0.119 61.8)

  • #00786B

    #00786B

    oklch(51.4% 0.092 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B47B8

    #7B47B8

    oklch(51.5% 0.172 301.8)

  • #B5311C

    #B5311C

    oklch(51.5% 0.172 31.8)

  • #5C7200

    #5C7200

    oklch(51.6% 0.125 122)

  • #007585

    #007585

    oklch(51.6% 0.09 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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