#87338B

Closest named color: Warm Purple (#952E8F). oklch(47.5% 0.159 325.9), rgb(135, 51, 139).

Aa

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

About this color

#87338B is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.159 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.028 away. White text reads best on it, at 7.30:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.159)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.87:1
White text7.30:1

Values

HEX#87338B
RGBrgb(135, 51, 139)
HSLhsl(297, 46%, 37%)
OKLCHoklch(47.5% 0.159 325.9)

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 #87338B 7.30:1 AAA Lc -89.6 Fine for body text
Black text on #87338B 2.87:1 Fails Lc 19.4 Dividers and decoration only
#87338B text on white 7.30:1 AAA Lc 84.7 Fine for body text
#87338B text on black 2.87:1 Fails Lc -17.3 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E9D0E9

    oklch(88.6% 0.043 325.9)

  4. Step 300

    300

    #DBB0DC

    oklch(80.9% 0.077 325.5)

  5. Step 400

    400

    #C885CA

    oklch(70.8% 0.123 325.8)

  6. Step 500

    500

    #B963BC

    oklch(63.1% 0.158 326)

  7. Step 600

    600

    #A447A8

    oklch(55.6% 0.172 326)

  8. Step 700

    700 (this color)

    #87338B

    oklch(47.5% 0.159 325.9)

  9. Step 800

    800

    #722F75

    oklch(42.7% 0.132 325.9)

  10. Step 900

    900

    #5C2B5E

    oklch(37.6% 0.102 325.9)

  11. Step 950

    950

    #361A37

    oklch(27% 0.064 325.9)

Export this scale for Tailwind in the Tailwind colors tool

#87338B 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)#25508E0.162
Deuteranopia (no green cones)#445A890.140
Tritanopia (no blue cones)#8A3F5A0.091
Achromatopsia (no color)#5656560.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #87338B

    #87338B

    oklch(47.5% 0.159 325.9)

  • #007020

    #007020

    oklch(47.4% 0.145 145.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87338B

    #87338B

    oklch(47.5% 0.159 325.9)

  • #6642AA

    #6642AA

    oklch(47.5% 0.16 295.7)

  • #9C285F

    #9C285F

    oklch(47.6% 0.159 356.2)

Open the analogous palette in the generator

Split complementary

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

  • #87338B

    #87338B

    oklch(47.5% 0.159 325.9)

  • #5A6300

    #5A6300

    oklch(47.5% 0.108 115.8)

  • #006C5A

    #006C5A

    oklch(47.5% 0.089 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87338B

    #87338B

    oklch(47.5% 0.159 325.9)

  • #745700

    #745700

    oklch(47.4% 0.097 86.1)

  • #006972

    #006972

    oklch(47.5% 0.081 205.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87338B

    #87338B

    oklch(47.5% 0.159 325.9)

  • #8C4700

    #8C4700

    oklch(47.5% 0.116 55.8)

  • #007020

    #007020

    oklch(47.4% 0.145 145.9)

  • #00648D

    #00648D

    oklch(47.5% 0.101 235.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87338B 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.