#654D9D

Closest named color: Twilight (#4E518B). oklch(48.4% 0.125 295.1), rgb(101, 77, 157).

Aa

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

About this color

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

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

Values

HEX#654D9D
RGBrgb(101, 77, 157)
HSLhsl(258, 34%, 46%)
OKLCHoklch(48.4% 0.125 295.1)

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 #654D9D 6.77:1 AA Lc -88.2 Fine for body text
Black text on #654D9D 3.10:1 AA large text Lc 20.9 Dividers and decoration only
#654D9D text on white 6.77:1 AA Lc 83.2 Fine for body text
#654D9D text on black 3.10:1 AA large text Lc -18.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 700.

  1. Step 50

    50

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C3B9E4

    oklch(80.8% 0.061 295.7)

  5. Step 400

    400

    #A594D7

    oklch(70.6% 0.098 295.4)

  6. Step 500

    500

    #8F79CC

    oklch(63.1% 0.124 294.8)

  7. Step 600

    600

    #7A60B9

    oklch(55.5% 0.135 295.1)

  8. Step 700

    700 (this color)

    #654D9D

    oklch(48.4% 0.125 295.1)

  9. Step 800

    800

    #544181

    oklch(42.7% 0.104 295.3)

  10. Step 900

    900

    #453868

    oklch(37.8% 0.081 294.7)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#654D9D 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)#2F5CA00.078
Deuteranopia (no green cones)#345A9B0.073
Tritanopia (no blue cones)#585D6D0.102
Achromatopsia (no color)#5B5B5B0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #654D9D

    #654D9D

    oklch(48.4% 0.125 295.1)

  • #5D6500

    #5D6500

    oklch(48.3% 0.11 115.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #654D9D

    #654D9D

    oklch(48.4% 0.125 295.1)

  • #3B5AA5

    #3B5AA5

    oklch(48.3% 0.126 265.1)

  • #814285

    #814285

    oklch(48.4% 0.125 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #654D9D

    #654D9D

    oklch(48.4% 0.125 295.1)

  • #785900

    #785900

    oklch(48.3% 0.099 85)

  • #25702D

    #25702D

    oklch(48.3% 0.125 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #654D9D

    #654D9D

    oklch(48.4% 0.125 295.1)

  • #904800

    #904800

    oklch(48.3% 0.12 54.9)

  • #006F5C

    #006F5C

    oklch(48.4% 0.091 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #654D9D

    #654D9D

    oklch(48.4% 0.125 295.1)

  • #993C39

    #993C39

    oklch(48.4% 0.126 24.8)

  • #5D6500

    #5D6500

    oklch(48.3% 0.11 115.1)

  • #006C75

    #006C75

    oklch(48.5% 0.083 204.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #654D9D 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.