#7938B3

Closest named color: Bluey Purple (#6241C7). oklch(48.9% 0.187 304.5), rgb(121, 56, 179).

Aa

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

About this color

#7938B3 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.187 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.055 away. White text reads best on it, at 6.93:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.187)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.02:1
White text6.93:1

Values

HEX#7938B3
RGBrgb(121, 56, 179)
HSLhsl(272, 52%, 46%)
OKLCHoklch(48.9% 0.187 304.5)

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 #7938B3 6.93:1 AA Lc -88.3 Fine for body text
Black text on #7938B3 3.02:1 AA large text Lc 20.7 Dividers and decoration only
#7938B3 text on white 6.93:1 AA Lc 83.3 Fine for body text
#7938B3 text on black 3.02:1 AA large text Lc -18.6 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

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E0D1F5

    oklch(88.4% 0.051 304.2)

  4. Step 300

    300

    #CEB2F0

    oklch(80.9% 0.091 305.1)

  5. Step 400

    400

    #B588E9

    oklch(70.8% 0.144 304.3)

  6. Step 500

    500

    #A366E2

    oklch(63.1% 0.185 304.3)

  7. Step 600

    600

    #8F49D0

    oklch(55.7% 0.201 304.4)

  8. Step 700

    700 (this color)

    #7938B3

    oklch(48.9% 0.187 304.5)

  9. Step 800

    800

    #633091

    oklch(42.7% 0.155 304.8)

  10. Step 900

    900

    #502C74

    oklch(37.6% 0.121 304.3)

  11. Step 950

    950

    #2F1B44

    oklch(27.1% 0.076 304.3)

Export this scale for Tailwind in the Tailwind colors tool

#7938B3 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)#0058B70.145
Deuteranopia (no green cones)#055AB00.146
Tritanopia (no blue cones)#6E54710.135
Achromatopsia (no color)#5A5A5A0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #7938B3

    #7938B3

    oklch(48.9% 0.187 304.5)

  • #516B00

    #516B00

    oklch(48.9% 0.122 124.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7938B3

    #7938B3

    oklch(48.9% 0.187 304.5)

  • #464DC7

    #464DC7

    oklch(49% 0.186 274.6)

  • #9A248A

    #9A248A

    oklch(48.9% 0.188 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #7938B3

    #7938B3

    oklch(48.9% 0.187 304.5)

  • #725E00

    #725E00

    oklch(48.7% 0.1 94.4)

  • #00733F

    #00733F

    oklch(48.8% 0.122 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7938B3

    #7938B3

    oklch(48.9% 0.187 304.5)

  • #8A5000

    #8A5000

    oklch(48.8% 0.11 64.2)

  • #007066

    #007066

    oklch(49% 0.087 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7938B3

    #7938B3

    oklch(48.9% 0.187 304.5)

  • #AC2800

    #AC2800

    oklch(48.8% 0.173 34.5)

  • #516B00

    #516B00

    oklch(48.9% 0.122 124.6)

  • #006C7E

    #006C7E

    oklch(48.9% 0.086 214.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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