#6158AA

Closest named color: Iris (#6258C4). oklch(50.9% 0.127 286), rgb(97, 88, 170).

Aa

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

About this color

#6158AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.127 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.041 away. White text reads best on it, at 6.02:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.48:1
White text6.02:1

Values

HEX#6158AA
RGBrgb(97, 88, 170)
HSLhsl(247, 33%, 51%)
OKLCHoklch(50.9% 0.127 286)

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 #6158AA 6.02:1 AA Lc -85.1 Fine for body text
Black text on #6158AA 3.48:1 AA large text Lc 24.1 Dividers and decoration only
#6158AA text on white 6.02:1 AA Lc 80.0 Fine for body text
#6158AA text on black 3.48:1 AA large text Lc -21.9 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D7D6EF

    oklch(88.5% 0.034 287.5)

  4. Step 300

    300

    #BCBBE7

    oklch(80.8% 0.062 286)

  5. Step 400

    400

    #9B98DB

    oklch(70.8% 0.097 285.7)

  6. Step 500

    500

    #847DD1

    oklch(63.2% 0.124 286.1)

  7. Step 600

    600

    #6E64BE

    oklch(55.5% 0.136 286.2)

  8. Step 700

    700 (this color)

    #6158AA

    oklch(50.9% 0.127 286)

  9. Step 800

    800

    #4B4485

    oklch(42.6% 0.105 286)

  10. Step 900

    900

    #3E3A6B

    oklch(37.7% 0.082 285.5)

  11. Step 950

    950

    #24223E

    oklch(26.9% 0.051 285.7)

Export this scale for Tailwind in the Tailwind colors tool

#6158AA 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)#3765AD0.059
Deuteranopia (no green cones)#3660A80.057
Tritanopia (no blue cones)#4B69790.107
Achromatopsia (no color)#6363630.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #6158AA

    #6158AA

    oklch(50.9% 0.127 286)

  • #6E6900

    #6E6900

    oklch(50.9% 0.109 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6158AA

    #6158AA

    oklch(50.9% 0.127 286)

  • #2F66AC

    #2F66AC

    oklch(50.9% 0.126 255.7)

  • #814C96

    #814C96

    oklch(50.8% 0.126 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #6158AA

    #6158AA

    oklch(50.9% 0.127 286)

  • #885C00

    #885C00

    oklch(50.9% 0.107 76.4)

  • #427523

    #427523

    oklch(50.8% 0.126 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6158AA

    #6158AA

    oklch(50.9% 0.127 286)

  • #9E4A1B

    #9E4A1B

    oklch(50.9% 0.126 46.2)

  • #007858

    #007858

    oklch(50.8% 0.105 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6158AA

    #6158AA

    oklch(50.9% 0.127 286)

  • #A1424C

    #A1424C

    oklch(50.9% 0.126 16.4)

  • #6E6900

    #6E6900

    oklch(50.9% 0.109 106.4)

  • #007576

    #007576

    oklch(51% 0.087 195.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6158AA.

Similar named colors

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

Use #6158AA 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.