#5628EE

Closest named color: Blue Purple (#5A06EF). oklch(49% 0.264 281.1), rgb(86, 40, 238).

Aa

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

About this color

#5628EE is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.264 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Purple (#5A06EF), ΔE 0.023 away. White text reads best on it, at 7.15:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.264)
Temperaturecool
Nearest nameBlue Purple (#5A06EF)
Black text2.93:1
White text7.15:1

Values

HEX#5628EE
RGBrgb(86, 40, 238)
HSLhsl(254, 85%, 55%)
OKLCHoklch(49% 0.264 281.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 #5628EE 7.15:1 AAA Lc -88.3 Fine for body text
Black text on #5628EE 2.93:1 Fails Lc 20.7 Dividers and decoration only
#5628EE text on white 7.15:1 AAA Lc 83.3 Fine for body text
#5628EE text on black 2.93:1 Fails Lc -18.6 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B5BAFF

    oklch(81% 0.097 280.8)

  5. Step 400

    400

    #9192FF

    oklch(70.7% 0.157 281.2)

  6. Step 500

    500

    #7972FF

    oklch(63.2% 0.203 281.1)

  7. Step 600

    600

    #654AFF

    oklch(55.6% 0.252 281.1)

  8. Step 700

    700 (this color)

    #5628EE

    oklch(49% 0.264 281.1)

  9. Step 800

    800

    #4626C0

    oklch(42.7% 0.219 281.3)

  10. Step 900

    900

    #392897

    oklch(37.6% 0.171 281.4)

  11. Step 950

    950

    #201A59

    oklch(27% 0.109 280.6)

Export this scale for Tailwind in the Tailwind colors tool

#5628EE 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)#005EF30.103
Deuteranopia (no green cones)#0050EB0.086
Tritanopia (no blue cones)#00688F0.211
Achromatopsia (no color)#5858580.266

Harmonies

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

Complementary

The opposite hue (180°).

  • #5628EE

    #5628EE

    oklch(49% 0.264 281.1)

  • #6D6100

    #6D6100

    oklch(48.9% 0.102 100.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5628EE

    #5628EE

    oklch(49% 0.264 281.1)

  • #0062AD

    #0062AD

    oklch(49.1% 0.142 250.8)

  • #8C00C3

    #8C00C3

    oklch(49% 0.247 311.1)

Open the analogous palette in the generator

Split complementary

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

  • #5628EE

    #5628EE

    oklch(49% 0.264 281.1)

  • #855400

    #855400

    oklch(48.9% 0.105 70.8)

  • #446F00

    #446F00

    oklch(49.1% 0.134 131.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5628EE

    #5628EE

    oklch(49% 0.264 281.1)

  • #A33900

    #A33900

    oklch(49.1% 0.151 41.1)

  • #00734C

    #00734C

    oklch(49.1% 0.109 161.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5628EE

    #5628EE

    oklch(49% 0.264 281.1)

  • #B30044

    #B30044

    oklch(48.9% 0.196 11)

  • #6D6100

    #6D6100

    oklch(48.9% 0.102 100.9)

  • #006F6C

    #006F6C

    oklch(48.9% 0.084 191.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5628EE.

Similar named colors

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

Use #5628EE 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.