#5642BB

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47.3% 0.181 284.6), rgb(86, 66, 187).

Aa

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

About this color

#5642BB is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.181 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.022 away. White text reads best on it, at 7.26:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.181)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.89:1
White text7.26:1

Values

HEX#5642BB
RGBrgb(86, 66, 187)
HSLhsl(250, 48%, 50%)
OKLCHoklch(47.3% 0.181 284.6)

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 #5642BB 7.26:1 AAA Lc -89.6 Fine for body text
Black text on #5642BB 2.89:1 Fails Lc 19.3 Dividers and decoration only
#5642BB text on white 7.26:1 AAA Lc 84.7 Fine for body text
#5642BB text on black 2.89:1 Fails Lc -17.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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D5D5F9

    oklch(88.4% 0.049 285.3)

  4. Step 300

    300

    #BAB9F8

    oklch(80.9% 0.088 285)

  5. Step 400

    400

    #9893F4

    oklch(70.8% 0.14 284.6)

  6. Step 500

    500

    #8174F0

    oklch(63.1% 0.18 284.8)

  7. Step 600

    600

    #6C59DE

    oklch(55.6% 0.194 284.6)

  8. Step 700

    700 (this color)

    #5642BB

    oklch(47.3% 0.181 284.6)

  9. Step 800

    800

    #4A3C9C

    oklch(42.7% 0.15 284.8)

  10. Step 900

    900

    #3D357C

    oklch(37.8% 0.116 284.5)

  11. Step 950

    950

    #231F49

    oklch(26.9% 0.075 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#5642BB 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)#005ABF0.085
Deuteranopia (no green cones)#0053B90.082
Tritanopia (no blue cones)#2B60780.152
Achromatopsia (no color)#5757570.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #5642BB

    #5642BB

    oklch(47.3% 0.181 284.6)

  • #655E00

    #655E00

    oklch(47.3% 0.1 104.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5642BB

    #5642BB

    oklch(47.3% 0.181 284.6)

  • #005AAF

    #005AAF

    oklch(47.3% 0.154 254.6)

  • #802FA0

    #802FA0

    oklch(47.4% 0.181 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #5642BB

    #5642BB

    oklch(47.3% 0.181 284.6)

  • #7C5200

    #7C5200

    oklch(47.3% 0.1 74.9)

  • #376B00

    #376B00

    oklch(47.3% 0.137 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5642BB

    #5642BB

    oklch(47.3% 0.181 284.6)

  • #973B00

    #973B00

    oklch(47.3% 0.137 44.4)

  • #006D4D

    #006D4D

    oklch(47.4% 0.1 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5642BB

    #5642BB

    oklch(47.3% 0.181 284.6)

  • #A90F3A

    #A90F3A

    oklch(47.3% 0.181 14.6)

  • #655E00

    #655E00

    oklch(47.3% 0.1 104.5)

  • #006969

    #006969

    oklch(47.2% 0.08 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 #5642BB, closest first.

Similar named colors

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

Use #5642BB 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.