#7848BA

Closest named color: Bluey Purple (#6241C7). oklch(51.5% 0.173 299.7), rgb(120, 72, 186).

Aa

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

About this color

#7848BA is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.173 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.049 away. White text reads best on it, at 6.11:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.173)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.43:1
White text6.11:1

Values

HEX#7848BA
RGBrgb(120, 72, 186)
HSLhsl(265, 45%, 51%)
OKLCHoklch(51.5% 0.173 299.7)

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 #7848BA 6.11:1 AA Lc -85.3 Fine for body text
Black text on #7848BA 3.43:1 AA large text Lc 24.0 Dividers and decoration only
#7848BA text on white 6.11:1 AA Lc 80.1 Fine for body text
#7848BA text on black 3.43:1 AA large text Lc -21.7 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DDD3F4

    oklch(88.5% 0.046 299.3)

  4. Step 300

    300

    #C8B5EF

    oklch(80.9% 0.083 299.6)

  5. Step 400

    400

    #AD8CE7

    oklch(70.6% 0.133 299.7)

  6. Step 500

    500

    #9A6CE0

    oklch(63% 0.171 299.8)

  7. Step 600

    600

    #8651CE

    oklch(55.6% 0.186 299.9)

  8. Step 700

    700 (this color)

    #7848BA

    oklch(51.5% 0.173 299.7)

  9. Step 800

    800

    #5C3690

    oklch(42.6% 0.143 299.8)

  10. Step 900

    900

    #4B3073

    oklch(37.6% 0.112 299.6)

  11. Step 950

    950

    #2C1D43

    oklch(27% 0.07 300)

Export this scale for Tailwind in the Tailwind colors tool

#7848BA 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)#0062BE0.130
Deuteranopia (no green cones)#1E61B70.121
Tritanopia (no blue cones)#6A607A0.131
Achromatopsia (no color)#6262620.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #7848BA

    #7848BA

    oklch(51.5% 0.173 299.7)

  • #5F7100

    #5F7100

    oklch(51.5% 0.122 120.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7848BA

    #7848BA

    oklch(51.5% 0.173 299.7)

  • #425BC9

    #425BC9

    oklch(51.5% 0.173 269.7)

  • #9B3896

    #9B3896

    oklch(51.6% 0.173 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #7848BA

    #7848BA

    oklch(51.5% 0.173 299.7)

  • #7F6400

    #7F6400

    oklch(51.6% 0.105 90.1)

  • #007D36

    #007D36

    oklch(51.5% 0.143 149.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7848BA

    #7848BA

    oklch(51.5% 0.173 299.7)

  • #985300

    #985300

    oklch(51.4% 0.121 59.8)

  • #007869

    #007869

    oklch(51.3% 0.093 180.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7848BA

    #7848BA

    oklch(51.5% 0.173 299.7)

  • #B62F22

    #B62F22

    oklch(51.5% 0.174 29.7)

  • #5F7100

    #5F7100

    oklch(51.5% 0.122 120.1)

  • #007583

    #007583

    oklch(51.5% 0.089 209.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7848BA 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.