#862FA8

Closest named color: Purply (#983FB2). oklch(48.7% 0.191 314.7), rgb(134, 47, 168).

Aa

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

About this color

#862FA8 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.191 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.191)
Temperaturein between
Nearest namePurply (#983FB2)
Black text2.98:1
White text7.03:1

Values

HEX#862FA8
RGBrgb(134, 47, 168)
HSLhsl(283, 56%, 42%)
OKLCHoklch(48.7% 0.191 314.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 #862FA8 7.03:1 AAA Lc -88.5 Fine for body text
Black text on #862FA8 2.98:1 Fails Lc 20.6 Dividers and decoration only
#862FA8 text on white 7.03:1 AAA Lc 83.5 Fine for body text
#862FA8 text on black 2.98:1 Fails Lc -18.5 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E6D0F1

    oklch(88.6% 0.05 314.6)

  4. Step 300

    300

    #D7AFEA

    oklch(80.9% 0.092 314.7)

  5. Step 400

    400

    #C282E0

    oklch(70.6% 0.148 314.3)

  6. Step 500

    500

    #B35ED7

    oklch(63.1% 0.19 314.7)

  7. Step 600

    600

    #9E40C4

    oklch(55.6% 0.205 314.6)

  8. Step 700

    700 (this color)

    #862FA8

    oklch(48.7% 0.191 314.7)

  9. Step 800

    800

    #6E2A89

    oklch(42.8% 0.158 314.8)

  10. Step 900

    900

    #59286E

    oklch(37.8% 0.123 314.4)

  11. Step 950

    950

    #341840

    oklch(26.9% 0.078 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#862FA8 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)#0054AB0.175
Deuteranopia (no green cones)#2A5BA50.161
Tritanopia (no blue cones)#8348680.125
Achromatopsia (no color)#5959590.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #862FA8

    #862FA8

    oklch(48.7% 0.191 314.7)

  • #397000

    #397000

    oklch(48.8% 0.142 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #862FA8

    #862FA8

    oklch(48.7% 0.191 314.7)

  • #5A44C5

    #5A44C5

    oklch(48.8% 0.191 284.6)

  • #A31978

    #A31978

    oklch(48.7% 0.191 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #862FA8

    #862FA8

    oklch(48.7% 0.191 314.7)

  • #696200

    #696200

    oklch(48.7% 0.103 104.7)

  • #007150

    #007150

    oklch(48.6% 0.103 164.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #862FA8

    #862FA8

    oklch(48.7% 0.191 314.7)

  • #815500

    #815500

    oklch(48.6% 0.103 74.4)

  • #006E6E

    #006E6E

    oklch(48.7% 0.083 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #862FA8

    #862FA8

    oklch(48.7% 0.191 314.7)

  • #9D3E00

    #9D3E00

    oklch(48.7% 0.14 44.6)

  • #397000

    #397000

    oklch(48.8% 0.142 134.7)

  • #006A86

    #006A86

    oklch(48.7% 0.092 224.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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