#87267B

Closest named color: Warm Purple (#952E8F). oklch(45.2% 0.163 333.4), rgb(135, 38, 123).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.163)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.59:1
White text8.09:1

Values

HEX#87267B
RGBrgb(135, 38, 123)
HSLhsl(307, 56%, 34%)
OKLCHoklch(45.2% 0.163 333.4)

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 #87267B 8.09:1 AAA Lc -91.8 Preferred for body text
Black text on #87267B 2.59:1 Fails Lc 17.0 Dividers and decoration only
#87267B text on white 8.09:1 AAA Lc 87.0 Fine for body text
#87267B text on black 2.59:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CDE8

    oklch(88.6% 0.053 334)

  4. Step 300

    300

    #E7AADB

    oklch(81% 0.096 333.5)

  5. Step 400

    400

    #D879C8

    oklch(70.6% 0.153 333.6)

  6. Step 500

    500

    #CB52BA

    oklch(63.1% 0.194 333.5)

  7. Step 600

    600

    #B62FA6

    oklch(55.6% 0.211 333.4)

  8. Step 700

    700

    #9C1F8E

    oklch(49% 0.196 333.4)

  9. Step 800

    800 (this color)

    #87267B

    oklch(45.2% 0.163 333.4)

  10. Step 900

    900

    #67205D

    oklch(37.8% 0.127 333.8)

  11. Step 950

    950

    #3C1437

    oklch(26.9% 0.081 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#87267B 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)#23477D0.176
Deuteranopia (no green cones)#4655790.150
Tritanopia (no blue cones)#8D2F4D0.084
Achromatopsia (no color)#5050500.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #87267B

    #87267B

    oklch(45.2% 0.163 333.4)

  • #006735

    #006735

    oklch(45.1% 0.115 153.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87267B

    #87267B

    oklch(45.2% 0.163 333.4)

  • #6A369E

    #6A369E

    oklch(45.3% 0.163 303.5)

  • #981A4C

    #981A4C

    oklch(45.1% 0.163 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #87267B

    #87267B

    oklch(45.2% 0.163 333.4)

  • #4A5F00

    #4A5F00

    oklch(45.2% 0.111 123.3)

  • #00645A

    #00645A

    oklch(45.2% 0.08 183.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87267B

    #87267B

    oklch(45.2% 0.163 333.4)

  • #675400

    #675400

    oklch(45.2% 0.093 93.7)

  • #006170

    #006170

    oklch(45.2% 0.079 212.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87267B

    #87267B

    oklch(45.2% 0.163 333.4)

  • #7D4700

    #7D4700

    oklch(45.3% 0.103 63.3)

  • #006735

    #006735

    oklch(45.1% 0.115 153.3)

  • #005B8E

    #005B8E

    oklch(45.3% 0.11 243.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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