#7340AA

Closest named color: Rebecca Purple (#663399). oklch(48.6% 0.164 302.9), rgb(115, 64, 170).

Aa

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

About this color

#7340AA is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.164 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.046 away. White text reads best on it, at 6.90:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.164)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.04:1
White text6.90:1

Values

HEX#7340AA
RGBrgb(115, 64, 170)
HSLhsl(269, 45%, 46%)
OKLCHoklch(48.6% 0.164 302.9)

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 #7340AA 6.90:1 AA Lc -88.4 Fine for body text
Black text on #7340AA 3.04:1 AA large text Lc 20.6 Dividers and decoration only
#7340AA text on white 6.90:1 AA Lc 83.4 Fine for body text
#7340AA text on black 3.04:1 AA large text Lc -18.5 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300

    #CBB5EC

    oklch(81% 0.08 302.9)

  5. Step 400

    400

    #B18CE2

    oklch(70.8% 0.128 303.1)

  6. Step 500

    500

    #9E6DD9

    oklch(63.1% 0.162 303)

  7. Step 600

    600

    #8952C7

    oklch(55.6% 0.177 302.7)

  8. Step 700

    700 (this color)

    #7340AA

    oklch(48.6% 0.164 302.9)

  9. Step 800

    800

    #5F378B

    oklch(42.8% 0.136 303)

  10. Step 900

    900

    #4D306F

    oklch(37.6% 0.107 302.9)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#7340AA 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)#0059AD0.131
Deuteranopia (no green cones)#215AA80.120
Tritanopia (no blue cones)#68566F0.121
Achromatopsia (no color)#5A5A5A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #7340AA

    #7340AA

    oklch(48.6% 0.164 302.9)

  • #536900

    #536900

    oklch(48.5% 0.119 122.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7340AA

    #7340AA

    oklch(48.6% 0.164 302.9)

  • #4352BA

    #4352BA

    oklch(48.6% 0.163 272.6)

  • #923186

    #923186

    oklch(48.6% 0.164 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #7340AA

    #7340AA

    oklch(48.6% 0.164 302.9)

  • #735D00

    #735D00

    oklch(48.6% 0.1 92.7)

  • #00733B

    #00733B

    oklch(48.7% 0.125 153)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7340AA

    #7340AA

    oklch(48.6% 0.164 302.9)

  • #8A4F00

    #8A4F00

    oklch(48.6% 0.111 63.4)

  • #006F64

    #006F64

    oklch(48.6% 0.087 183.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7340AA

    #7340AA

    oklch(48.6% 0.164 302.9)

  • #A82C14

    #A82C14

    oklch(48.6% 0.164 32.8)

  • #536900

    #536900

    oklch(48.5% 0.119 122.8)

  • #006B7C

    #006B7C

    oklch(48.5% 0.085 213.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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