#654ED8

Closest named color: Slate Blue (#6A5ACD). oklch(52.8% 0.201 284.8), rgb(101, 78, 216).

Aa

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

About this color

#654ED8 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.201 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Slate Blue (#6A5ACD), ΔE 0.034 away. White text reads best on it, at 5.77:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.201)
Temperaturecool
Nearest nameSlate Blue (#6A5ACD)
Black text3.63:1
White text5.77:1

Values

HEX#654ED8
RGBrgb(101, 78, 216)
HSLhsl(250, 64%, 58%)
OKLCHoklch(52.8% 0.201 284.8)

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 #654ED8 5.77:1 AA Lc -83.6 Fine for body text
Black text on #654ED8 3.63:1 AA large text Lc 25.7 Dividers and decoration only
#654ED8 text on white 5.77:1 AA Lc 78.4 Fine for body text
#654ED8 text on black 3.63:1 AA large text Lc -23.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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BAB9F9

    oklch(80.9% 0.09 284.9)

  5. Step 400

    400

    #9892F7

    oklch(70.8% 0.145 284.8)

  6. Step 500

    500

    #8173F3

    oklch(63.1% 0.185 284.7)

  7. Step 600

    600 (this color)

    #654ED8

    oklch(52.8% 0.201 284.8)

  8. Step 700

    700

    #5B46C4

    oklch(49.1% 0.187 284.8)

  9. Step 800

    800

    #4A3B9E

    oklch(42.7% 0.154 284.7)

  10. Step 900

    900

    #3D347E

    oklch(37.8% 0.121 284.6)

  11. Step 950

    950

    #231F4A

    oklch(27% 0.077 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#654ED8 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)#006ADC0.096
Deuteranopia (no green cones)#0061D50.091
Tritanopia (no blue cones)#34708C0.168
Achromatopsia (no color)#6666660.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #654ED8

    #654ED8

    oklch(52.8% 0.201 284.8)

  • #766E00

    #766E00

    oklch(52.9% 0.112 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #654ED8

    #654ED8

    oklch(52.8% 0.201 284.8)

  • #0069CB

    #0069CB

    oklch(52.8% 0.172 254.7)

  • #9538B9

    #9538B9

    oklch(52.8% 0.202 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #654ED8

    #654ED8

    oklch(52.8% 0.201 284.8)

  • #906000

    #906000

    oklch(52.8% 0.111 75)

  • #407D00

    #407D00

    oklch(52.7% 0.154 134.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #654ED8

    #654ED8

    oklch(52.8% 0.201 284.8)

  • #AF4600

    #AF4600

    oklch(52.8% 0.152 44.6)

  • #007F5B

    #007F5B

    oklch(52.8% 0.111 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #654ED8

    #654ED8

    oklch(52.8% 0.201 284.8)

  • #C41544

    #C41544

    oklch(52.8% 0.202 15)

  • #766E00

    #766E00

    oklch(52.9% 0.112 104.6)

  • #007B7B

    #007B7B

    oklch(52.8% 0.09 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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