#7873FB

Closest named color: Cornflower (#6A79F7). oklch(63% 0.197 280.8), rgb(120, 115, 251).

Aa

Black text reads best on this color (5.64:1).

About this color

#7873FB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.197 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.023 away. Black text reads best on it, at 5.64:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.197)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.64:1
White text3.72:1

Values

HEX#7873FB
RGBrgb(120, 115, 251)
HSLhsl(242, 94%, 72%)
OKLCHoklch(63% 0.197 280.8)

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 #7873FB 3.72:1 AA large text Lc -69.9 Content text, not long reading
Black text on #7873FB 5.64:1 AA Lc 39.6 Non-text elements, placeholder text
#7873FB text on white 3.72:1 AA large text Lc 64.5 Content text, not long reading
#7873FB text on black 5.64:1 AA Lc -37.2 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D2D6FD

    oklch(88.5% 0.054 280.6)

  4. Step 300

    300

    #B5BAFE

    oklch(80.9% 0.096 280.8)

  5. Step 400

    400

    #9093FE

    oklch(70.7% 0.154 280.5)

  6. Step 500

    500 (this color)

    #7873FB

    oklch(63% 0.197 280.8)

  7. Step 600

    600

    #6457EA

    oklch(55.6% 0.213 280.9)

  8. Step 700

    700

    #5346CC

    oklch(49.1% 0.199 280.6)

  9. Step 800

    800

    #443AA5

    oklch(42.6% 0.165 281)

  10. Step 900

    900

    #383483

    oklch(37.7% 0.129 280.5)

  11. Step 950

    950

    #211F4D

    oklch(27% 0.082 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#7873FB 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)#1C89FF0.088
Deuteranopia (no green cones)#007FF80.091
Tritanopia (no blue cones)#3F92AC0.170
Achromatopsia (no color)#8484840.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #7873FB

    #7873FB

    oklch(63% 0.197 280.8)

  • #9B8A00

    #9B8A00

    oklch(62.9% 0.131 100.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7873FB

    #7873FB

    oklch(63% 0.197 280.8)

  • #008BF2

    #008BF2

    oklch(63% 0.183 250.9)

  • #AE5EDF

    #AE5EDF

    oklch(63% 0.197 310.6)

Open the analogous palette in the generator

Split complementary

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

  • #7873FB

    #7873FB

    oklch(63% 0.197 280.8)

  • #BC7800

    #BC7800

    oklch(63% 0.136 70.4)

  • #639C00

    #639C00

    oklch(62.9% 0.171 130.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7873FB

    #7873FB

    oklch(63% 0.197 280.8)

  • #E45200

    #E45200

    oklch(62.9% 0.194 40.8)

  • #00A26C

    #00A26C

    oklch(62.9% 0.14 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7873FB

    #7873FB

    oklch(63% 0.197 280.8)

  • #E6456C

    #E6456C

    oklch(63% 0.197 10.7)

  • #9B8A00

    #9B8A00

    oklch(62.9% 0.131 100.6)

  • #009E99

    #009E99

    oklch(63.1% 0.109 190.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7873FB.

Similar named colors

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

Use #7873FB 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.