#7868BA

Closest named color: Deep Lavender (#8D5EB7). oklch(56.9% 0.124 290.9), rgb(120, 104, 186).

Aa

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

About this color

#7868BA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.124 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.040 away. White text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.48:1
White text4.67:1

Values

HEX#7868BA
RGBrgb(120, 104, 186)
HSLhsl(252, 37%, 57%)
OKLCHoklch(56.9% 0.124 290.9)

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 #7868BA 4.67:1 AA Lc -77.8 Fine for body text
Black text on #7868BA 4.48:1 AA large text Lc 31.7 Non-text elements, placeholder text
#7868BA text on white 4.67:1 AA Lc 72.4 Content text, not long reading
#7868BA text on black 4.48:1 AA large text Lc -29.3 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D9D6ED

    oklch(88.5% 0.031 291.7)

  4. Step 300

    300

    #C0BBE3

    oklch(80.9% 0.056 290.8)

  5. Step 400

    400

    #A097D4

    oklch(70.7% 0.089 290.7)

  6. Step 500

    500

    #8A7CC9

    oklch(63.1% 0.114 291.1)

  7. Step 600

    600 (this color)

    #7868BA

    oklch(56.9% 0.124 290.9)

  8. Step 700

    700

    #62539D

    oklch(49.2% 0.116 290.8)

  9. Step 800

    800

    #50447F

    oklch(42.7% 0.096 291.1)

  10. Step 900

    900

    #423A66

    oklch(37.8% 0.074 290.8)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#7868BA 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)#4D75BD0.062
Deuteranopia (no green cones)#4E72B80.060
Tritanopia (no blue cones)#6878880.103
Achromatopsia (no color)#7474740.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7868BA

    #7868BA

    oklch(56.9% 0.124 290.9)

  • #7B7D03

    #7B7D03

    oklch(56.9% 0.124 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7868BA

    #7868BA

    oklch(56.9% 0.124 290.9)

  • #4B76C0

    #4B76C0

    oklch(57% 0.124 260.6)

  • #985CA3

    #985CA3

    oklch(56.9% 0.125 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #7868BA

    #7868BA

    oklch(56.9% 0.124 290.9)

  • #9A6E00

    #9A6E00

    oklch(56.8% 0.117 80.8)

  • #4A8940

    #4A8940

    oklch(57% 0.125 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7868BA

    #7868BA

    oklch(56.9% 0.124 290.9)

  • #AF5E29

    #AF5E29

    oklch(56.8% 0.124 50.7)

  • #008C6E

    #008C6E

    oklch(57% 0.112 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7868BA

    #7868BA

    oklch(56.9% 0.124 290.9)

  • #B55557

    #B55557

    oklch(56.9% 0.125 20.6)

  • #7B7D03

    #7B7D03

    oklch(56.9% 0.124 110.9)

  • #00888E

    #00888E

    oklch(57% 0.097 200.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7868BA 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.