#862F7E

Closest named color: Warm Purple (#952E8F). oklch(46.1% 0.153 331.6), rgb(134, 47, 126).

Aa

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

About this color

#862F7E is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.153 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.039 away. White text reads best on it, at 7.71:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.153)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.72:1
White text7.71:1

Values

HEX#862F7E
RGBrgb(134, 47, 126)
HSLhsl(306, 48%, 35%)
OKLCHoklch(46.1% 0.153 331.6)

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 #862F7E 7.71:1 AAA Lc -90.9 Preferred for body text
Black text on #862F7E 2.72:1 Fails Lc 18.0 Dividers and decoration only
#862F7E text on white 7.71:1 AAA Lc 86.0 Fine for body text
#862F7E text on black 2.72:1 Fails Lc -16.0 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EAD0E6

    oklch(88.6% 0.041 331)

  4. Step 300

    300

    #DEB0D6

    oklch(81% 0.073 332.3)

  5. Step 400

    400

    #CB84C2

    oklch(70.6% 0.119 331.3)

  6. Step 500

    500

    #BC63B2

    oklch(63% 0.151 331.5)

  7. Step 600

    600

    #A7479E

    oklch(55.5% 0.165 331.3)

  8. Step 700

    700 (this color)

    #862F7E

    oklch(46.1% 0.153 331.6)

  9. Step 800

    800

    #752F6E

    oklch(42.7% 0.128 331.6)

  10. Step 900

    900

    #5E2B59

    oklch(37.7% 0.098 331.1)

  11. Step 950

    950

    #371A34

    oklch(27% 0.061 331)

Export this scale for Tailwind in the Tailwind colors tool

#862F7E 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)#2A4B800.161
Deuteranopia (no green cones)#48577C0.138
Tritanopia (no blue cones)#8B37520.080
Achromatopsia (no color)#5353530.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #862F7E

    #862F7E

    oklch(46.1% 0.153 331.6)

  • #006B33

    #006B33

    oklch(46.2% 0.123 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #862F7E

    #862F7E

    oklch(46.1% 0.153 331.6)

  • #693D9E

    #693D9E

    oklch(46.2% 0.152 301.6)

  • #972652

    #972652

    oklch(46.1% 0.152 1.7)

Open the analogous palette in the generator

Split complementary

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

  • #862F7E

    #862F7E

    oklch(46.1% 0.153 331.6)

  • #4F6100

    #4F6100

    oklch(46.1% 0.111 121.4)

  • #00675B

    #00675B

    oklch(46.1% 0.083 181.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #862F7E

    #862F7E

    oklch(46.1% 0.153 331.6)

  • #6C5600

    #6C5600

    oklch(46.2% 0.095 91.5)

  • #006472

    #006472

    oklch(46.2% 0.08 211.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #862F7E

    #862F7E

    oklch(46.1% 0.153 331.6)

  • #824800

    #824800

    oklch(46.2% 0.107 61.4)

  • #006B33

    #006B33

    oklch(46.2% 0.123 151.6)

  • #005E8F

    #005E8F

    oklch(46.1% 0.109 241.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #862F7E 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.