#7C48B2

Closest named color: Purply (#983FB2). oklch(51.3% 0.164 303.8), rgb(124, 72, 178).

Aa

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

About this color

#7C48B2 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.164 and its hue 304°. 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 6.12:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.164)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.42:1
White text6.12:1

Values

HEX#7C48B2
RGBrgb(124, 72, 178)
HSLhsl(269, 42%, 49%)
OKLCHoklch(51.3% 0.164 303.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 #7C48B2 6.12:1 AA Lc -85.4 Fine for body text
Black text on #7C48B2 3.42:1 AA large text Lc 23.9 Dividers and decoration only
#7C48B2 text on white 6.12:1 AA Lc 80.2 Fine for body text
#7C48B2 text on black 3.42:1 AA large text Lc -21.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300

    #CBB4EB

    oklch(80.8% 0.08 303.7)

  5. Step 400

    400

    #B28CE1

    oklch(70.8% 0.127 303.9)

  6. Step 500

    500

    #9F6CD8

    oklch(63% 0.163 303.9)

  7. Step 600

    600

    #8A51C6

    oklch(55.5% 0.178 303.6)

  8. Step 700

    700 (this color)

    #7C48B2

    oklch(51.3% 0.164 303.8)

  9. Step 800

    800

    #60368A

    oklch(42.7% 0.136 304.3)

  10. Step 900

    900

    #4E306F

    oklch(37.7% 0.107 303.7)

  11. Step 950

    950

    #2E1D41

    oklch(27.1% 0.067 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#7C48B2 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)#1560B50.131
Deuteranopia (no green cones)#2F62B00.118
Tritanopia (no blue cones)#725D760.121
Achromatopsia (no color)#6262620.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C48B2

    #7C48B2

    oklch(51.3% 0.164 303.8)

  • #587200

    #587200

    oklch(51.3% 0.127 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C48B2

    #7C48B2

    oklch(51.3% 0.164 303.8)

  • #4C59C3

    #4C59C3

    oklch(51.2% 0.164 273.8)

  • #9B398D

    #9B398D

    oklch(51.2% 0.164 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C48B2

    #7C48B2

    oklch(51.3% 0.164 303.8)

  • #7B6500

    #7B6500

    oklch(51.3% 0.105 93.9)

  • #007C42

    #007C42

    oklch(51.4% 0.131 153.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C48B2

    #7C48B2

    oklch(51.3% 0.164 303.8)

  • #945600

    #945600

    oklch(51.3% 0.116 64.1)

  • #00786D

    #00786D

    oklch(51.4% 0.091 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C48B2

    #7C48B2

    oklch(51.3% 0.164 303.8)

  • #B1361B

    #B1361B

    oklch(51.3% 0.164 33.8)

  • #587200

    #587200

    oklch(51.3% 0.127 123.9)

  • #007486

    #007486

    oklch(51.4% 0.09 213.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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