#7E48BC

Closest named color: Purply (#983FB2). oklch(52.2% 0.176 302.1), rgb(126, 72, 188).

Aa

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

About this color

#7E48BC is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.176 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.053 away. White text reads best on it, at 5.93:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.176)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.54:1
White text5.93:1

Values

HEX#7E48BC
RGBrgb(126, 72, 188)
HSLhsl(268, 46%, 51%)
OKLCHoklch(52.2% 0.176 302.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 #7E48BC 5.93:1 AA Lc -84.4 Fine for body text
Black text on #7E48BC 3.54:1 AA large text Lc 24.9 Dividers and decoration only
#7E48BC text on white 5.93:1 AA Lc 79.2 Fine for body text
#7E48BC text on black 3.54:1 AA large text Lc -22.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

    #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

    #B18BE7

    oklch(70.8% 0.136 302.1)

  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)

    #7E48BC

    oklch(52.2% 0.176 302.1)

  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

#7E48BC 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)#0063C00.138
Deuteranopia (no green cones)#2463B90.127
Tritanopia (no blue cones)#72607B0.131
Achromatopsia (no color)#6464640.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E48BC

    #7E48BC

    oklch(52.2% 0.176 302.1)

  • #5E7400

    #5E7400

    oklch(52.2% 0.126 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E48BC

    #7E48BC

    oklch(52.2% 0.176 302.1)

  • #495BCD

    #495BCD

    oklch(52.2% 0.176 272.1)

  • #A03896

    #A03896

    oklch(52.3% 0.176 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E48BC

    #7E48BC

    oklch(52.2% 0.176 302.1)

  • #806700

    #806700

    oklch(52.3% 0.107 92.1)

  • #007F3F

    #007F3F

    oklch(52.2% 0.137 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E48BC

    #7E48BC

    oklch(52.2% 0.176 302.1)

  • #995700

    #995700

    oklch(52.2% 0.12 62.4)

  • #007B6E

    #007B6E

    oklch(52.3% 0.094 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E48BC

    #7E48BC

    oklch(52.2% 0.176 302.1)

  • #B9311B

    #B9311B

    oklch(52.2% 0.176 31.9)

  • #5E7400

    #5E7400

    oklch(52.2% 0.126 121.8)

  • #007788

    #007788

    oklch(52.2% 0.091 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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