#7861CF

Closest named color: Light Indigo (#6D5ACF). oklch(56.9% 0.163 289.8), rgb(120, 97, 207).

Aa

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

About this color

#7861CF is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.163 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.026 away. White text reads best on it, at 4.76:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.163)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text4.40:1
White text4.76:1

Values

HEX#7861CF
RGBrgb(120, 97, 207)
HSLhsl(253, 53%, 60%)
OKLCHoklch(56.9% 0.163 289.8)

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 #7861CF 4.76:1 AA Lc -78.2 Fine for body text
Black text on #7861CF 4.40:1 AA large text Lc 31.3 Non-text elements, placeholder text
#7861CF text on white 4.76:1 AA Lc 72.8 Content text, not long reading
#7861CF text on black 4.40:1 AA large text Lc -28.9 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9EE

    oklch(80.9% 0.074 289.8)

  5. Step 400

    400

    #9F93E5

    oklch(70.6% 0.118 289.7)

  6. Step 500

    500

    #8977DD

    oklch(63.1% 0.15 289.5)

  7. Step 600

    600 (this color)

    #7861CF

    oklch(56.9% 0.163 289.8)

  8. Step 700

    700

    #624CAF

    oklch(49.1% 0.151 289.9)

  9. Step 800

    800

    #503F8E

    oklch(42.8% 0.126 289.9)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#7861CF 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)#2D75D30.093
Deuteranopia (no green cones)#3070CD0.089
Tritanopia (no blue cones)#5F788F0.134
Achromatopsia (no color)#7373730.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #7861CF

    #7861CF

    oklch(56.9% 0.163 289.8)

  • #7C7C00

    #7C7C00

    oklch(56.8% 0.124 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7861CF

    #7861CF

    oklch(56.9% 0.163 289.8)

  • #3873D5

    #3873D5

    oklch(56.8% 0.163 260)

  • #A051B2

    #A051B2

    oklch(56.9% 0.164 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #7861CF

    #7861CF

    oklch(56.9% 0.163 289.8)

  • #9B6E00

    #9B6E00

    oklch(57% 0.118 80.2)

  • #388D21

    #388D21

    oklch(57% 0.164 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7861CF

    #7861CF

    oklch(56.9% 0.163 289.8)

  • #BA5600

    #BA5600

    oklch(56.9% 0.15 50)

  • #008C6D

    #008C6D

    oklch(56.9% 0.113 170.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7861CF

    #7861CF

    oklch(56.9% 0.163 289.8)

  • #C5444E

    #C5444E

    oklch(56.9% 0.164 19.6)

  • #7C7C00

    #7C7C00

    oklch(56.8% 0.124 109.8)

  • #00888D

    #00888D

    oklch(56.9% 0.097 199.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7861CF.

Similar named colors

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

Use #7861CF 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.