#7862C2

Closest named color: Light Indigo (#6D5ACF). oklch(56.3% 0.144 291.6), rgb(120, 98, 194).

Aa

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

About this color

#7862C2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.144 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.036 away. White text reads best on it, at 4.85:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.144)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text4.32:1
White text4.85:1

Values

HEX#7862C2
RGBrgb(120, 98, 194)
HSLhsl(254, 44%, 57%)
OKLCHoklch(56.3% 0.144 291.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 #7862C2 4.85:1 AA Lc -78.9 Fine for body text
Black text on #7862C2 4.32:1 AA large text Lc 30.6 Non-text elements, placeholder text
#7862C2 text on white 4.85:1 AA Lc 73.5 Content text, not long reading
#7862C2 text on black 4.32:1 AA large text Lc -28.2 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 600.

  1. Step 50

    50

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C1BAE8

    oklch(81% 0.065 291.9)

  5. Step 400

    400

    #A195DC

    oklch(70.7% 0.103 291.3)

  6. Step 500

    500

    #8B79D3

    oklch(63.1% 0.133 291.3)

  7. Step 600

    600 (this color)

    #7862C2

    oklch(56.3% 0.144 291.6)

  8. Step 700

    700

    #634FA6

    oklch(49.1% 0.135 291.2)

  9. Step 800

    800

    #514186

    oklch(42.7% 0.111 291.7)

  10. Step 900

    900

    #43386B

    oklch(37.8% 0.085 291.7)

  11. Step 950

    950

    #27213F

    oklch(27% 0.055 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#7862C2 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)#3D73C50.081
Deuteranopia (no green cones)#406FC00.077
Tritanopia (no blue cones)#6575890.118
Achromatopsia (no color)#7171710.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #7862C2

    #7862C2

    oklch(56.3% 0.144 291.6)

  • #787B00

    #787B00

    oklch(56.2% 0.124 111.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7862C2

    #7862C2

    oklch(56.3% 0.144 291.6)

  • #4372C9

    #4372C9

    oklch(56.3% 0.144 261.6)

  • #9B54A7

    #9B54A7

    oklch(56.2% 0.145 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #7862C2

    #7862C2

    oklch(56.3% 0.144 291.6)

  • #976D00

    #976D00

    oklch(56.3% 0.116 81.8)

  • #3C8933

    #3C8933

    oklch(56.2% 0.144 141.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7862C2

    #7862C2

    oklch(56.3% 0.144 291.6)

  • #B55703

    #B55703

    oklch(56.3% 0.144 51.6)

  • #00896D

    #00896D

    oklch(56.1% 0.109 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7862C2

    #7862C2

    oklch(56.3% 0.144 291.6)

  • #BB4B4E

    #BB4B4E

    oklch(56.2% 0.145 21.4)

  • #787B00

    #787B00

    oklch(56.2% 0.124 111.5)

  • #00858D

    #00858D

    oklch(56.1% 0.096 202.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7862C2.

Similar named colors

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

Use #7862C2 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.