#862AB7

Closest named color: Dark Orchid (#9932CC). oklch(49.3% 0.211 310.5), rgb(134, 42, 183).

Aa

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

About this color

#862AB7 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.211 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.051 away. White text reads best on it, at 6.93:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.211)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.02:1
White text6.93:1

Values

HEX#862AB7
RGBrgb(134, 42, 183)
HSLhsl(279, 63%, 44%)
OKLCHoklch(49.3% 0.211 310.5)

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 #862AB7 6.93:1 AA Lc -87.9 Fine for body text
Black text on #862AB7 3.02:1 AA large text Lc 21.2 Dividers and decoration only
#862AB7 text on white 6.93:1 AA Lc 82.9 Fine for body text
#862AB7 text on black 3.02:1 AA large text Lc -19.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF6

    oklch(88.5% 0.058 310.4)

  4. Step 300

    300

    #D5AEF2

    oklch(80.8% 0.102 310.3)

  5. Step 400

    400

    #C080EB

    oklch(70.7% 0.163 310.4)

  6. Step 500

    500

    #B05AE4

    oklch(63% 0.208 310.5)

  7. Step 600

    600

    #9C39D2

    oklch(55.6% 0.226 310.6)

  8. Step 700

    700 (this color)

    #862AB7

    oklch(49.3% 0.211 310.5)

  9. Step 800

    800

    #6C2593

    oklch(42.7% 0.174 310.5)

  10. Step 900

    900

    #582576

    oklch(37.8% 0.136 310.4)

  11. Step 950

    950

    #331745

    oklch(27% 0.086 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#862AB7 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)#0056BB0.175
Deuteranopia (no green cones)#005BB40.178
Tritanopia (no blue cones)#7F4C700.142
Achromatopsia (no color)#5A5A5A0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #862AB7

    #862AB7

    oklch(49.3% 0.211 310.5)

  • #466F00

    #466F00

    oklch(49.2% 0.133 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #862AB7

    #862AB7

    oklch(49.3% 0.211 310.5)

  • #5343D3

    #5343D3

    oklch(49.3% 0.211 280.4)

  • #A70785

    #A70785

    oklch(49.3% 0.211 340.3)

Open the analogous palette in the generator

Split complementary

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

  • #862AB7

    #862AB7

    oklch(49.3% 0.211 310.5)

  • #6F6200

    #6F6200

    oklch(49.3% 0.103 100.3)

  • #00744C

    #00744C

    oklch(49.4% 0.11 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #862AB7

    #862AB7

    oklch(49.3% 0.211 310.5)

  • #875500

    #875500

    oklch(49.4% 0.107 70.5)

  • #00706C

    #00706C

    oklch(49.2% 0.085 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #862AB7

    #862AB7

    oklch(49.3% 0.211 310.5)

  • #A53800

    #A53800

    oklch(49.3% 0.154 40.4)

  • #466F00

    #466F00

    oklch(49.2% 0.133 130.4)

  • #006D85

    #006D85

    oklch(49.5% 0.09 220.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #862AB7.

Similar named colors

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

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