#7054B3

Closest named color: Iris (#6258C4). oklch(52.1% 0.145 294.4), rgb(112, 84, 179).

Aa

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

About this color

#7054B3 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.145 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.035 away. White text reads best on it, at 5.82:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.145)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.60:1
White text5.82:1

Values

HEX#7054B3
RGBrgb(112, 84, 179)
HSLhsl(258, 38%, 52%)
OKLCHoklch(52.1% 0.145 294.4)

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 #7054B3 5.82:1 AA Lc -84.1 Fine for body text
Black text on #7054B3 3.60:1 AA large text Lc 25.2 Dividers and decoration only
#7054B3 text on white 5.82:1 AA Lc 78.9 Fine for body text
#7054B3 text on black 3.60:1 AA large text Lc -22.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE7F6

    oklch(93.5% 0.02 295.2)

  3. Step 200

    200

    #DAD5F1

    oklch(88.6% 0.038 293.8)

  4. Step 300

    300

    #C3B8EA

    oklch(80.8% 0.071 294.9)

  5. Step 400

    400

    #A592E0

    oklch(70.7% 0.113 294.5)

  6. Step 500

    500

    #9075D7

    oklch(63.1% 0.145 294.6)

  7. Step 600

    600

    #7B5CC4

    oklch(55.6% 0.156 294.5)

  8. Step 700

    700 (this color)

    #7054B3

    oklch(52.1% 0.145 294.4)

  9. Step 800

    800

    #543E89

    oklch(42.6% 0.12 294.2)

  10. Step 900

    900

    #45366E

    oklch(37.8% 0.094 293.8)

  11. Step 950

    950

    #282040

    oklch(27% 0.059 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#7054B3 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)#2C66B60.091
Deuteranopia (no green cones)#3364B10.086
Tritanopia (no blue cones)#60677B0.116
Achromatopsia (no color)#6565650.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #7054B3

    #7054B3

    oklch(52.1% 0.145 294.4)

  • #687000

    #687000

    oklch(52% 0.118 114.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7054B3

    #7054B3

    oklch(52.1% 0.145 294.4)

  • #3E64BC

    #3E64BC

    oklch(52.2% 0.145 264.4)

  • #914797

    #914797

    oklch(52.1% 0.145 324.5)

Open the analogous palette in the generator

Split complementary

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

  • #7054B3

    #7054B3

    oklch(52.1% 0.145 294.4)

  • #866300

    #866300

    oklch(52.1% 0.107 84.3)

  • #237E2B

    #237E2B

    oklch(52.2% 0.146 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7054B3

    #7054B3

    oklch(52.1% 0.145 294.4)

  • #A05000

    #A05000

    oklch(52% 0.13 54.4)

  • #007B65

    #007B65

    oklch(52% 0.099 174.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7054B3

    #7054B3

    oklch(52.1% 0.145 294.4)

  • #AD3F3D

    #AD3F3D

    oklch(52.1% 0.145 24.6)

  • #687000

    #687000

    oklch(52% 0.118 114.6)

  • #007881

    #007881

    oklch(52.2% 0.089 204)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7054B3 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.