#7A42F5

Closest named color: Burple (#6832E3). oklch(55.5% 0.247 290.2), rgb(122, 66, 245).

Aa

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

About this color

#7A42F5 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.247 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Burple (#6832E3), ΔE 0.052 away. White text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.247)
Temperaturein between
Nearest nameBurple (#6832E3)
Black text3.92:1
White text5.34:1

Values

HEX#7A42F5
RGBrgb(122, 66, 245)
HSLhsl(259, 90%, 61%)
OKLCHoklch(55.5% 0.247 290.2)

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 #7A42F5 5.34:1 AA Lc -81.1 Fine for body text
Black text on #7A42F5 3.92:1 AA large text Lc 28.4 Dividers and decoration only
#7A42F5 text on white 5.34:1 AA Lc 75.7 Fine for body text
#7A42F5 text on black 3.92:1 AA large text Lc -26.0 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 600.

  1. Step 50

    50

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FF

    oklch(93.7% 0.032 289.6)

  3. Step 200

    200

    #D8D3FF

    oklch(88.5% 0.06 290.3)

  4. Step 300

    300

    #BFB5FF

    oklch(80.8% 0.104 290.1)

  5. Step 400

    400

    #A18BFF

    oklch(70.7% 0.166 290.2)

  6. Step 500

    500

    #8D68FF

    oklch(63.2% 0.214 290.2)

  7. Step 600

    600 (this color)

    #7A42F5

    oklch(55.5% 0.247 290.2)

  8. Step 700

    700

    #6831D6

    oklch(49.1% 0.231 290.4)

  9. Step 800

    800

    #542CAD

    oklch(42.8% 0.19 290.1)

  10. Step 900

    900

    #452A89

    oklch(37.7% 0.149 290.5)

  11. Step 950

    950

    #281A50

    oklch(27% 0.094 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#7A42F5 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)#006EFA0.129
Deuteranopia (no green cones)#0067F20.126
Tritanopia (no blue cones)#4E73980.199
Achromatopsia (no color)#6B6B6B0.249

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A42F5

    #7A42F5

    oklch(55.5% 0.247 290.2)

  • #787800

    #787800

    oklch(55.4% 0.121 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A42F5

    #7A42F5

    oklch(55.5% 0.247 290.2)

  • #0066F5

    #0066F5

    oklch(55.5% 0.229 260.2)

  • #AE20C9

    #AE20C9

    oklch(55.5% 0.247 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #7A42F5

    #7A42F5

    oklch(55.5% 0.247 290.2)

  • #966A00

    #966A00

    oklch(55.5% 0.115 79.9)

  • #268A00

    #268A00

    oklch(55.4% 0.179 140.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A42F5

    #7A42F5

    oklch(55.5% 0.247 290.2)

  • #B45300

    #B45300

    oklch(55.5% 0.147 50)

  • #008769

    #008769

    oklch(55.5% 0.11 170.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A42F5

    #7A42F5

    oklch(55.5% 0.247 290.2)

  • #D60037

    #D60037

    oklch(55.4% 0.223 20)

  • #787800

    #787800

    oklch(55.4% 0.121 109.8)

  • #008389

    #008389

    oklch(55.5% 0.094 200.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7A42F5.

Similar named colors

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

Use #7A42F5 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.