#7861BF

Closest named color: Deep Lavender (#8D5EB7). oklch(55.9% 0.142 292.5), rgb(120, 97, 191).

Aa

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

About this color

#7861BF is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.142 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.037 away. White text reads best on it, at 4.92:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.142)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.26:1
White text4.92:1

Values

HEX#7861BF
RGBrgb(120, 97, 191)
HSLhsl(255, 42%, 56%)
OKLCHoklch(55.9% 0.142 292.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 #7861BF 4.92:1 AA Lc -79.4 Fine for body text
Black text on #7861BF 4.26:1 AA large text Lc 30.1 Non-text elements, placeholder text
#7861BF text on white 4.92:1 AA Lc 73.9 Content text, not long reading
#7861BF text on black 4.26:1 AA large text Lc -27.8 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

    #D9D5EF

    oklch(88.4% 0.036 292.7)

  4. Step 300

    300

    #C1BAE7

    oklch(81% 0.063 292.1)

  5. Step 400

    400

    #A295DB

    oklch(70.8% 0.102 292.1)

  6. Step 500

    500

    #8C79D1

    oklch(63.1% 0.13 292.2)

  7. Step 600

    600 (this color)

    #7861BF

    oklch(55.9% 0.142 292.5)

  8. Step 700

    700

    #644FA4

    oklch(49.1% 0.132 292.2)

  9. Step 800

    800

    #524185

    oklch(42.7% 0.11 292.7)

  10. Step 900

    900

    #43386A

    oklch(37.7% 0.084 292)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#7861BF 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)#3E72C20.081
Deuteranopia (no green cones)#416FBD0.077
Tritanopia (no blue cones)#6674870.116
Achromatopsia (no color)#7070700.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #7861BF

    #7861BF

    oklch(55.9% 0.142 292.5)

  • #767B00

    #767B00

    oklch(56% 0.124 112.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7861BF

    #7861BF

    oklch(55.9% 0.142 292.5)

  • #4571C6

    #4571C6

    oklch(56% 0.141 262.2)

  • #9A54A4

    #9A54A4

    oklch(55.9% 0.141 322.5)

Open the analogous palette in the generator

Split complementary

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

  • #7861BF

    #7861BF

    oklch(55.9% 0.142 292.5)

  • #956C00

    #956C00

    oklch(55.8% 0.115 82.2)

  • #3A8835

    #3A8835

    oklch(55.9% 0.142 142.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7861BF

    #7861BF

    oklch(55.9% 0.142 292.5)

  • #B25703

    #B25703

    oklch(55.8% 0.142 52.5)

  • #00886D

    #00886D

    oklch(55.8% 0.108 172.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7861BF

    #7861BF

    oklch(55.9% 0.142 292.5)

  • #B94C4C

    #B94C4C

    oklch(56% 0.142 22.8)

  • #767B00

    #767B00

    oklch(56% 0.124 112.6)

  • #00848C

    #00848C

    oklch(55.8% 0.095 202.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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