#872BB4

Closest named color: Purply (#983FB2). oklch(49.3% 0.207 311.7), rgb(135, 43, 180).

Aa

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

About this color

#872BB4 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.207 and its hue 312°. 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 6.91:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.207)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.03:1
White text6.91:1

Values

HEX#872BB4
RGBrgb(135, 43, 180)
HSLhsl(280, 61%, 44%)
OKLCHoklch(49.3% 0.207 311.7)

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 #872BB4 6.91:1 AA Lc -87.9 Fine for body text
Black text on #872BB4 3.03:1 AA large text Lc 21.2 Dividers and decoration only
#872BB4 text on white 6.91:1 AA Lc 82.9 Fine for body text
#872BB4 text on black 3.03:1 AA large text Lc -19.1 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E5CFF5

    oklch(88.4% 0.056 311)

  4. Step 300

    300

    #D6AEF0

    oklch(80.9% 0.1 311.7)

  5. Step 400

    400

    #C180E8

    oklch(70.6% 0.16 311.7)

  6. Step 500

    500

    #B15BE1

    oklch(63% 0.204 311.5)

  7. Step 600

    600

    #9D3ACF

    oklch(55.6% 0.223 311.6)

  8. Step 700

    700 (this color)

    #872BB4

    oklch(49.3% 0.207 311.7)

  9. Step 800

    800

    #6D2691

    oklch(42.7% 0.171 311.6)

  10. Step 900

    900

    #582574

    oklch(37.6% 0.134 311.3)

  11. Step 950

    950

    #341744

    oklch(27% 0.085 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#872BB4 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)#0056B80.176
Deuteranopia (no green cones)#115BB10.175
Tritanopia (no blue cones)#814B6E0.139
Achromatopsia (no color)#5A5A5A0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #872BB4

    #872BB4

    oklch(49.3% 0.207 311.7)

  • #437000

    #437000

    oklch(49.3% 0.136 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #872BB4

    #872BB4

    oklch(49.3% 0.207 311.7)

  • #5643D1

    #5643D1

    oklch(49.3% 0.208 281.7)

  • #A70C82

    #A70C82

    oklch(49.3% 0.207 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #872BB4

    #872BB4

    oklch(49.3% 0.207 311.7)

  • #6E6300

    #6E6300

    oklch(49.5% 0.104 101.8)

  • #00744D

    #00744D

    oklch(49.4% 0.109 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #872BB4

    #872BB4

    oklch(49.3% 0.207 311.7)

  • #865500

    #865500

    oklch(49.3% 0.106 71.2)

  • #00706D

    #00706D

    oklch(49.2% 0.085 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #872BB4

    #872BB4

    oklch(49.3% 0.207 311.7)

  • #A33A00

    #A33A00

    oklch(49.2% 0.15 41.5)

  • #437000

    #437000

    oklch(49.3% 0.136 131.7)

  • #006C86

    #006C86

    oklch(49.3% 0.091 222.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #872BB4.

Similar named colors

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

Use #872BB4 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.