#5948AC

Closest named color: Bluey Purple (#6241C7). oklch(47.4% 0.153 286.8), rgb(89, 72, 172).

Aa

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

About this color

#5948AC is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.153 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.047 away. White text reads best on it, at 7.12:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.153)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text2.94:1
White text7.12:1

Values

HEX#5948AC
RGBrgb(89, 72, 172)
HSLhsl(250, 41%, 48%)
OKLCHoklch(47.4% 0.153 286.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 #5948AC 7.12:1 AAA Lc -89.3 Fine for body text
Black text on #5948AC 2.94:1 Fails Lc 19.6 Dividers and decoration only
#5948AC text on white 7.12:1 AAA Lc 84.4 Fine for body text
#5948AC text on black 2.94:1 Fails Lc -17.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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D6F4

    oklch(88.5% 0.041 285.5)

  4. Step 300

    300

    #BDBAEF

    oklch(80.9% 0.074 287.2)

  5. Step 400

    400

    #9B95E7

    oklch(70.8% 0.118 286.3)

  6. Step 500

    500

    #8578E0

    oklch(63.2% 0.152 286.9)

  7. Step 600

    600

    #6F5ECD

    oklch(55.5% 0.165 286.7)

  8. Step 700

    700 (this color)

    #5948AC

    oklch(47.4% 0.153 286.8)

  9. Step 800

    800

    #4C4090

    oklch(42.7% 0.127 286.6)

  10. Step 900

    900

    #3F3773

    oklch(37.7% 0.099 286.7)

  11. Step 950

    950

    #252143

    oklch(27.1% 0.062 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#5948AC 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)#005AAF0.085
Deuteranopia (no green cones)#0055AA0.084
Tritanopia (no blue cones)#3D5F730.128
Achromatopsia (no color)#5858580.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #5948AC

    #5948AC

    oklch(47.4% 0.153 286.8)

  • #635F00

    #635F00

    oklch(47.4% 0.102 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5948AC

    #5948AC

    oklch(47.4% 0.153 286.8)

  • #1259B0

    #1259B0

    oklch(47.4% 0.154 256.8)

  • #7D3994

    #7D3994

    oklch(47.4% 0.154 316.7)

Open the analogous palette in the generator

Split complementary

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

  • #5948AC

    #5948AC

    oklch(47.4% 0.153 286.8)

  • #7B5300

    #7B5300

    oklch(47.4% 0.099 76.6)

  • #2F6D00

    #2F6D00

    oklch(47.5% 0.143 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5948AC

    #5948AC

    oklch(47.4% 0.153 286.8)

  • #953E00

    #953E00

    oklch(47.4% 0.132 46.6)

  • #006D50

    #006D50

    oklch(47.4% 0.098 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5948AC

    #5948AC

    oklch(47.4% 0.153 286.8)

  • #A02A3C

    #A02A3C

    oklch(47.5% 0.153 16.9)

  • #635F00

    #635F00

    oklch(47.4% 0.102 106.8)

  • #006A6B

    #006A6B

    oklch(47.5% 0.081 195.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5948AC 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.