#7F48BD

Closest named color: Purply (#983FB2). oklch(52.4% 0.178 302.3), rgb(127, 72, 189).

Aa

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

About this color

#7F48BD is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.178 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.051 away. White text reads best on it, at 5.89:1.

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

Values

HEX#7F48BD
RGBrgb(127, 72, 189)
HSLhsl(268, 47%, 51%)
OKLCHoklch(52.4% 0.178 302.3)

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 #7F48BD 5.89:1 AA Lc -84.2 Fine for body text
Black text on #7F48BD 3.56:1 AA large text Lc 25.1 Dividers and decoration only
#7F48BD text on white 5.89:1 AA Lc 79.0 Fine for body text
#7F48BD text on black 3.56:1 AA large text Lc -22.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 600.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE6F7

    oklch(93.5% 0.024 301.9)

  3. Step 200

    200

    #DED3F2

    oklch(88.5% 0.044 301.7)

  4. Step 300

    300

    #CAB5EC

    oklch(80.9% 0.079 302.1)

  5. Step 400

    400

    #B08CE3

    oklch(70.7% 0.129 302.3)

  6. Step 500

    500

    #9D6DDA

    oklch(63.1% 0.163 302.3)

  7. Step 600

    600 (this color)

    #7F48BD

    oklch(52.4% 0.178 302.3)

  8. Step 700

    700

    #7442AD

    oklch(49.2% 0.165 302.2)

  9. Step 800

    800

    #5E378C

    oklch(42.7% 0.137 302.1)

  10. Step 900

    900

    #4D3170

    oklch(37.8% 0.106 302.1)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F48BD 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)#0063C10.140
Deuteranopia (no green cones)#2464BA0.129
Tritanopia (no blue cones)#73617C0.132
Achromatopsia (no color)#6464640.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F48BD

    #7F48BD

    oklch(52.4% 0.178 302.3)

  • #5E7500

    #5E7500

    oklch(52.5% 0.128 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F48BD

    #7F48BD

    oklch(52.4% 0.178 302.3)

  • #4A5BCF

    #4A5BCF

    oklch(52.4% 0.179 272.4)

  • #A13796

    #A13796

    oklch(52.3% 0.178 332.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F48BD

    #7F48BD

    oklch(52.4% 0.178 302.3)

  • #806700

    #806700

    oklch(52.3% 0.107 92.1)

  • #008040

    #008040

    oklch(52.5% 0.138 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F48BD

    #7F48BD

    oklch(52.4% 0.178 302.3)

  • #9A5700

    #9A5700

    oklch(52.4% 0.121 62)

  • #007B6E

    #007B6E

    oklch(52.3% 0.094 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F48BD

    #7F48BD

    oklch(52.4% 0.178 302.3)

  • #BA3119

    #BA3119

    oklch(52.3% 0.177 32.3)

  • #5E7500

    #5E7500

    oklch(52.5% 0.128 122.2)

  • #007889

    #007889

    oklch(52.6% 0.092 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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