#684F87

Closest named color: Twilight (#4E518B). oklch(47.8% 0.092 303.7), rgb(104, 79, 135).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text3.05:1
White text6.86:1

Values

HEX#684F87
RGBrgb(104, 79, 135)
HSLhsl(267, 26%, 42%)
OKLCHoklch(47.8% 0.092 303.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 #684F87 6.86:1 AA Lc -88.6 Fine for body text
Black text on #684F87 3.05:1 AA large text Lc 20.4 Dividers and decoration only
#684F87 text on white 6.86:1 AA Lc 83.6 Fine for body text
#684F87 text on black 3.05:1 AA large text Lc -18.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 700.

  1. Step 50

    50

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD5E7

    oklch(88.4% 0.026 303.5)

  4. Step 300

    300

    #C6BAD9

    oklch(80.9% 0.045 303)

  5. Step 400

    400

    #AA96C5

    oklch(70.7% 0.071 304)

  6. Step 500

    500

    #957CB7

    oklch(63.2% 0.091 303.3)

  7. Step 600

    600

    #8064A2

    oklch(55.6% 0.098 304.2)

  8. Step 700

    700 (this color)

    #684F87

    oklch(47.8% 0.092 303.7)

  9. Step 800

    800

    #584471

    oklch(42.7% 0.076 303.8)

  10. Step 900

    900

    #48395B

    oklch(37.6% 0.06 303.9)

  11. Step 950

    950

    #2A2235

    oklch(27% 0.036 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#684F87 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)#425A890.062
Deuteranopia (no green cones)#475A850.057
Tritanopia (no blue cones)#6358640.070
Achromatopsia (no color)#5A5A5A0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #684F87

    #684F87

    oklch(47.8% 0.092 303.7)

  • #526525

    #526525

    oklch(47.6% 0.092 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #684F87

    #684F87

    oklch(47.8% 0.092 303.7)

  • #4D5890

    #4D5890

    oklch(47.7% 0.091 274)

  • #7C4872

    #7C4872

    oklch(47.8% 0.092 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #684F87

    #684F87

    oklch(47.8% 0.092 303.7)

  • #6E5B0F

    #6E5B0F

    oklch(47.7% 0.092 93.6)

  • #2C6C44

    #2C6C44

    oklch(47.8% 0.092 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #684F87

    #684F87

    oklch(47.8% 0.092 303.7)

  • #81501D

    #81501D

    oklch(47.8% 0.092 63)

  • #006C62

    #006C62

    oklch(47.7% 0.085 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #684F87

    #684F87

    oklch(47.8% 0.092 303.7)

  • #894839

    #894839

    oklch(47.8% 0.092 34.1)

  • #526525

    #526525

    oklch(47.6% 0.092 123.8)

  • #006979

    #006979

    oklch(47.8% 0.084 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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