#6657BA

Closest named color: Iris (#6258C4). oklch(52.2% 0.15 286.9), rgb(102, 87, 186).

Aa

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

About this color

#6657BA is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.150 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.017 away. White text reads best on it, at 5.77:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.150)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.63:1
White text5.77:1

Values

HEX#6657BA
RGBrgb(102, 87, 186)
HSLhsl(249, 42%, 54%)
OKLCHoklch(52.2% 0.15 286.9)

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 #6657BA 5.77:1 AA Lc -83.9 Fine for body text
Black text on #6657BA 3.63:1 AA large text Lc 25.4 Dividers and decoration only
#6657BA text on white 5.77:1 AA Lc 78.6 Fine for body text
#6657BA text on black 3.63:1 AA large text Lc -23.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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D7D6F3

    oklch(88.6% 0.04 287.1)

  4. Step 300

    300

    #BDBAEE

    oklch(80.9% 0.073 287.3)

  5. Step 400

    400

    #9C95E5

    oklch(70.7% 0.116 287.1)

  6. Step 500

    500

    #8578DE

    oklch(63% 0.15 287.1)

  7. Step 600

    600

    #705FCB

    oklch(55.6% 0.161 287.2)

  8. Step 700

    700 (this color)

    #6657BA

    oklch(52.2% 0.15 286.9)

  9. Step 800

    800

    #4C408E

    oklch(42.6% 0.124 286.9)

  10. Step 900

    900

    #3F3772

    oklch(37.6% 0.098 286.9)

  11. Step 950

    950

    #252143

    oklch(27.1% 0.062 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#6657BA 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)#2768BD0.078
Deuteranopia (no green cones)#2563B80.077
Tritanopia (no blue cones)#4C6C800.125
Achromatopsia (no color)#6666660.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #6657BA

    #6657BA

    oklch(52.2% 0.15 286.9)

  • #716D00

    #716D00

    oklch(52.1% 0.112 107.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6657BA

    #6657BA

    oklch(52.2% 0.15 286.9)

  • #2768BE

    #2768BE

    oklch(52.3% 0.15 256.9)

  • #8B48A2

    #8B48A2

    oklch(52.1% 0.151 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #6657BA

    #6657BA

    oklch(52.2% 0.15 286.9)

  • #8C5F00

    #8C5F00

    oklch(52% 0.109 76.6)

  • #3A7C10

    #3A7C10

    oklch(52.2% 0.15 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6657BA

    #6657BA

    oklch(52.2% 0.15 286.9)

  • #A94800

    #A94800

    oklch(52.1% 0.144 47)

  • #007C5C

    #007C5C

    oklch(52% 0.107 167.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6657BA

    #6657BA

    oklch(52.2% 0.15 286.9)

  • #AF3B49

    #AF3B49

    oklch(52.2% 0.151 17.1)

  • #716D00

    #716D00

    oklch(52.1% 0.112 107.2)

  • #00797B

    #00797B

    oklch(52.2% 0.089 196.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6657BA 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.