#7868BB

Closest named color: Deep Lavender (#8D5EB7). oklch(56.9% 0.125 290.7), rgb(120, 104, 187).

Aa

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

About this color

#7868BB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.125 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.125)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.49:1
White text4.67:1

Values

HEX#7868BB
RGBrgb(120, 104, 187)
HSLhsl(252, 38%, 57%)
OKLCHoklch(56.9% 0.125 290.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 #7868BB 4.67:1 AA Lc -77.8 Fine for body text
Black text on #7868BB 4.49:1 AA large text Lc 31.8 Non-text elements, placeholder text
#7868BB text on white 4.67:1 AA Lc 72.3 Content text, not long reading
#7868BB text on black 4.49:1 AA large text Lc -29.4 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

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300

    #C0BBE3

    oklch(80.9% 0.056 290.8)

  5. Step 400

    400

    #A097D5

    oklch(70.7% 0.09 290.6)

  6. Step 500

    500

    #8A7CCA

    oklch(63.1% 0.116 290.9)

  7. Step 600

    600 (this color)

    #7868BB

    oklch(56.9% 0.125 290.7)

  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

#7868BB 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)#4C76BE0.064
Deuteranopia (no green cones)#4D72B90.061
Tritanopia (no blue cones)#6778880.105
Achromatopsia (no color)#7474740.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #7868BB

    #7868BB

    oklch(56.9% 0.125 290.7)

  • #7B7D00

    #7B7D00

    oklch(56.9% 0.125 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7868BB

    #7868BB

    oklch(56.9% 0.125 290.7)

  • #4B76C0

    #4B76C0

    oklch(57% 0.124 260.6)

  • #985CA4

    #985CA4

    oklch(56.9% 0.126 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #7868BB

    #7868BB

    oklch(56.9% 0.125 290.7)

  • #9B6E00

    #9B6E00

    oklch(57% 0.118 80.2)

  • #4A893F

    #4A893F

    oklch(57% 0.126 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7868BB

    #7868BB

    oklch(56.9% 0.125 290.7)

  • #B05E28

    #B05E28

    oklch(56.9% 0.125 50.7)

  • #008C6E

    #008C6E

    oklch(57% 0.112 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7868BB

    #7868BB

    oklch(56.9% 0.125 290.7)

  • #B55557

    #B55557

    oklch(56.9% 0.125 20.6)

  • #7B7D00

    #7B7D00

    oklch(56.9% 0.125 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 #7868BB, closest first.

Similar named colors

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

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