#5745CC

Closest named color: Bluey Purple (#6241C7). oklch(49.3% 0.199 282.3), rgb(87, 69, 204).

Aa

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

About this color

#5745CC is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.199 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.021 away. White text reads best on it, at 6.71:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.199)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text3.12:1
White text6.71:1

Values

HEX#5745CC
RGBrgb(87, 69, 204)
HSLhsl(248, 57%, 54%)
OKLCHoklch(49.3% 0.199 282.3)

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 #5745CC 6.71:1 AA Lc -87.6 Fine for body text
Black text on #5745CC 3.12:1 AA large text Lc 21.5 Dividers and decoration only
#5745CC text on white 6.71:1 AA Lc 82.5 Fine for body text
#5745CC text on black 3.12:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D3D5FC

    oklch(88.4% 0.054 282.9)

  4. Step 300

    300

    #B7B9FE

    oklch(80.9% 0.097 282.7)

  5. Step 400

    400

    #9392FD

    oklch(70.7% 0.154 282.1)

  6. Step 500

    500

    #7C72FB

    oklch(63.1% 0.197 282.4)

  7. Step 600

    600

    #6756EA

    oklch(55.6% 0.214 282.1)

  8. Step 700

    700 (this color)

    #5745CC

    oklch(49.3% 0.199 282.3)

  9. Step 800

    800

    #463AA4

    oklch(42.7% 0.164 282.1)

  10. Step 900

    900

    #3A3382

    oklch(37.6% 0.128 282.3)

  11. Step 950

    950

    #221F4C

    oklch(27% 0.081 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#5745CC 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)#0060D00.085
Deuteranopia (no green cones)#0057C90.079
Tritanopia (no blue cones)#1468830.169
Achromatopsia (no color)#5C5C5C0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #5745CC

    #5745CC

    oklch(49.3% 0.199 282.3)

  • #6D6300

    #6D6300

    oklch(49.4% 0.104 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5745CC

    #5745CC

    oklch(49.3% 0.199 282.3)

  • #0061B2

    #0061B2

    oklch(49.2% 0.149 252.5)

  • #862FB0

    #862FB0

    oklch(49.3% 0.199 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #5745CC

    #5745CC

    oklch(49.3% 0.199 282.3)

  • #855600

    #855600

    oklch(49.3% 0.105 72.7)

  • #417000

    #417000

    oklch(49.2% 0.137 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5745CC

    #5745CC

    oklch(49.3% 0.199 282.3)

  • #A23B00

    #A23B00

    oklch(49.2% 0.148 42.2)

  • #00744E

    #00744E

    oklch(49.4% 0.108 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5745CC

    #5745CC

    oklch(49.3% 0.199 282.3)

  • #B50042

    #B50042

    oklch(49.3% 0.197 12.2)

  • #6D6300

    #6D6300

    oklch(49.4% 0.104 102.6)

  • #00706E

    #00706E

    oklch(49.3% 0.084 192.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5745CC 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.