#7B42D0

Closest named color: Bluey Purple (#6241C7). oklch(52.6% 0.207 297.1), rgb(123, 66, 208).

Aa

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

About this color

#7B42D0 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.207 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.047 away. White text reads best on it, at 5.94:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.207)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.53:1
White text5.94:1

Values

HEX#7B42D0
RGBrgb(123, 66, 208)
HSLhsl(264, 60%, 54%)
OKLCHoklch(52.6% 0.207 297.1)

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 #7B42D0 5.94:1 AA Lc -84.3 Fine for body text
Black text on #7B42D0 3.53:1 AA large text Lc 25.0 Dividers and decoration only
#7B42D0 text on white 5.94:1 AA Lc 79.1 Fine for body text
#7B42D0 text on black 3.53:1 AA large text Lc -22.8 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FA

    oklch(93.5% 0.027 297.3)

  3. Step 200

    200

    #DCD3F8

    oklch(88.6% 0.051 296.5)

  4. Step 300

    300

    #C7B4F6

    oklch(80.9% 0.094 297.5)

  5. Step 400

    400

    #AB8AF1

    oklch(70.6% 0.149 297.2)

  6. Step 500

    500

    #9869EC

    oklch(63.1% 0.19 297.2)

  7. Step 600

    600 (this color)

    #7B42D0

    oklch(52.6% 0.207 297.1)

  8. Step 700

    700

    #703CBD

    oklch(49.1% 0.191 297.3)

  9. Step 800

    800

    #5B3399

    oklch(42.8% 0.158 297.2)

  10. Step 900

    900

    #4A2E7A

    oklch(37.7% 0.124 297)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#7B42D0 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)#0064D40.135
Deuteranopia (no green cones)#0062CD0.136
Tritanopia (no blue cones)#6664840.158
Achromatopsia (no color)#6464640.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B42D0

    #7B42D0

    oklch(52.6% 0.207 297.1)

  • #667300

    #667300

    oklch(52.6% 0.122 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B42D0

    #7B42D0

    oklch(52.6% 0.207 297.1)

  • #365ADF

    #365ADF

    oklch(52.5% 0.206 267.1)

  • #A42BA6

    #A42BA6

    oklch(52.6% 0.207 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #7B42D0

    #7B42D0

    oklch(52.6% 0.207 297.1)

  • #856500

    #856500

    oklch(52.5% 0.107 86.8)

  • #00812D

    #00812D

    oklch(52.6% 0.156 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B42D0

    #7B42D0

    oklch(52.6% 0.207 297.1)

  • #A05400

    #A05400

    oklch(52.7% 0.127 57.1)

  • #007C6A

    #007C6A

    oklch(52.5% 0.097 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B42D0

    #7B42D0

    oklch(52.6% 0.207 297.1)

  • #C6121A

    #C6121A

    oklch(52.5% 0.207 27.1)

  • #667300

    #667300

    oklch(52.6% 0.122 117.3)

  • #007985

    #007985

    oklch(52.6% 0.09 206.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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