#684D9F

Closest named color: Twilight (#4E518B). oklch(48.8% 0.128 296.5), rgb(104, 77, 159).

Aa

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

About this color

#684D9F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.128 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.055 away. White text reads best on it, at 6.66:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text3.15:1
White text6.66:1

Values

HEX#684D9F
RGBrgb(104, 77, 159)
HSLhsl(260, 35%, 46%)
OKLCHoklch(48.8% 0.128 296.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 #684D9F 6.66:1 AA Lc -87.8 Fine for body text
Black text on #684D9F 3.15:1 AA large text Lc 21.3 Dividers and decoration only
#684D9F text on white 6.66:1 AA Lc 82.7 Fine for body text
#684D9F text on black 3.15:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EE

    oklch(88.5% 0.035 296.7)

  4. Step 300

    300

    #C4B9E5

    oklch(80.9% 0.062 296.4)

  5. Step 400

    400

    #A694D8

    oklch(70.8% 0.099 295.9)

  6. Step 500

    500

    #9178CD

    oklch(63.1% 0.127 296.1)

  7. Step 600

    600

    #7C5FBA

    oklch(55.6% 0.138 296.3)

  8. Step 700

    700 (this color)

    #684D9F

    oklch(48.8% 0.128 296.5)

  9. Step 800

    800

    #554082

    oklch(42.6% 0.107 296.2)

  10. Step 900

    900

    #463768

    oklch(37.7% 0.083 296.3)

  11. Step 950

    950

    #29213D

    oklch(27.1% 0.052 295.9)

Export this scale for Tailwind in the Tailwind colors tool

#684D9F 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)#2F5DA20.082
Deuteranopia (no green cones)#355B9D0.077
Tritanopia (no blue cones)#5C5D6E0.102
Achromatopsia (no color)#5C5C5C0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #684D9F

    #684D9F

    oklch(48.8% 0.128 296.5)

  • #5D6700

    #5D6700

    oklch(48.8% 0.112 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #684D9F

    #684D9F

    oklch(48.8% 0.128 296.5)

  • #3E5BA8

    #3E5BA8

    oklch(48.9% 0.128 266.3)

  • #844286

    #844286

    oklch(48.8% 0.128 326.2)

Open the analogous palette in the generator

Split complementary

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

  • #684D9F

    #684D9F

    oklch(48.8% 0.128 296.5)

  • #785B00

    #785B00

    oklch(48.8% 0.1 86.9)

  • #1F722F

    #1F722F

    oklch(48.7% 0.128 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #684D9F

    #684D9F

    oklch(48.8% 0.128 296.5)

  • #914B00

    #914B00

    oklch(48.9% 0.119 56.7)

  • #00705E

    #00705E

    oklch(48.7% 0.091 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #684D9F

    #684D9F

    oklch(48.8% 0.128 296.5)

  • #9C3C36

    #9C3C36

    oklch(48.8% 0.13 26.5)

  • #5D6700

    #5D6700

    oklch(48.8% 0.112 116.2)

  • #006D77

    #006D77

    oklch(48.8% 0.084 205.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #684D9F 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.