#8048BD

Closest named color: Purply (#983FB2). oklch(52.5% 0.178 302.8), rgb(128, 72, 189).

Aa

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

About this color

#8048BD is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.178 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 5.86:1.

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

Values

HEX#8048BD
RGBrgb(128, 72, 189)
HSLhsl(269, 47%, 51%)
OKLCHoklch(52.5% 0.178 302.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 #8048BD 5.86:1 AA Lc -84.1 Fine for body text
Black text on #8048BD 3.57:1 AA large text Lc 25.2 Dividers and decoration only
#8048BD text on white 5.86:1 AA Lc 78.9 Fine for body text
#8048BD text on black 3.57:1 AA large text Lc -22.9 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

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300

    #CBB5EC

    oklch(81% 0.08 302.9)

  5. Step 400

    400

    #B08CE2

    oklch(70.7% 0.128 302.5)

  6. Step 500

    500

    #9E6DDA

    oklch(63.2% 0.163 302.8)

  7. Step 600

    600 (this color)

    #8048BD

    oklch(52.5% 0.178 302.8)

  8. Step 700

    700

    #7441AC

    oklch(49% 0.166 302.7)

  9. Step 800

    800

    #5F378B

    oklch(42.8% 0.136 303)

  10. Step 900

    900

    #4D306F

    oklch(37.6% 0.107 302.9)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#8048BD 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)#0064C10.141
Deuteranopia (no green cones)#2664BA0.129
Tritanopia (no blue cones)#74617C0.132
Achromatopsia (no color)#6565650.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #8048BD

    #8048BD

    oklch(52.5% 0.178 302.8)

  • #5D7500

    #5D7500

    oklch(52.4% 0.128 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8048BD

    #8048BD

    oklch(52.5% 0.178 302.8)

  • #4B5BCF

    #4B5BCF

    oklch(52.5% 0.179 272.7)

  • #A23796

    #A23796

    oklch(52.5% 0.179 332.6)

Open the analogous palette in the generator

Split complementary

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

  • #8048BD

    #8048BD

    oklch(52.5% 0.178 302.8)

  • #806800

    #806800

    oklch(52.5% 0.108 92.9)

  • #008042

    #008042

    oklch(52.6% 0.136 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8048BD

    #8048BD

    oklch(52.5% 0.178 302.8)

  • #9A5800

    #9A5800

    oklch(52.5% 0.12 62.7)

  • #007C6F

    #007C6F

    oklch(52.6% 0.094 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8048BD

    #8048BD

    oklch(52.5% 0.178 302.8)

  • #BB3217

    #BB3217

    oklch(52.6% 0.178 32.9)

  • #5D7500

    #5D7500

    oklch(52.4% 0.128 122.7)

  • #00788A

    #00788A

    oklch(52.6% 0.092 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8048BD 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.