#7974EC

Closest named color: Cornflower (#6A79F7). oklch(62.2% 0.175 281.9), rgb(121, 116, 236).

Aa

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

About this color

#7974EC is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.175 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.026 away. Black text reads best on it, at 5.52:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.175)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.52:1
White text3.80:1

Values

HEX#7974EC
RGBrgb(121, 116, 236)
HSLhsl(243, 76%, 69%)
OKLCHoklch(62.2% 0.175 281.9)

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 #7974EC 3.80:1 AA large text Lc -70.8 Content text, not long reading
Black text on #7974EC 5.52:1 AA Lc 38.8 Non-text elements, placeholder text
#7974EC text on white 3.80:1 AA large text Lc 65.3 Content text, not long reading
#7974EC text on black 5.52:1 AA Lc -36.4 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D3D6F9

    oklch(88.5% 0.048 281.5)

  4. Step 300

    300

    #B7BAF7

    oklch(80.8% 0.086 282.1)

  5. Step 400

    400

    #9494F3

    oklch(70.6% 0.137 282.3)

  6. Step 500

    500 (this color)

    #7974EC

    oklch(62.2% 0.175 281.9)

  7. Step 600

    600

    #665CDD

    oklch(55.5% 0.19 281.7)

  8. Step 700

    700

    #564BC0

    oklch(49.2% 0.176 282)

  9. Step 800

    800

    #463E9B

    oklch(42.7% 0.146 282.1)

  10. Step 900

    900

    #3A367C

    oklch(37.7% 0.115 281.9)

  11. Step 950

    950

    #222048

    oklch(26.9% 0.072 282.7)

Export this scale for Tailwind in the Tailwind colors tool

#7974EC 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)#3987F00.076
Deuteranopia (no green cones)#307FE90.078
Tritanopia (no blue cones)#4E8EA50.151
Achromatopsia (no color)#8383830.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #7974EC

    #7974EC

    oklch(62.2% 0.175 281.9)

  • #978900

    #978900

    oklch(62.3% 0.131 102.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7974EC

    #7974EC

    oklch(62.2% 0.175 281.9)

  • #1A88EC

    #1A88EC

    oklch(62.2% 0.176 252)

  • #AA62D2

    #AA62D2

    oklch(62.3% 0.175 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #7974EC

    #7974EC

    oklch(62.2% 0.175 281.9)

  • #B87700

    #B87700

    oklch(62.3% 0.134 71.5)

  • #5E9B00

    #5E9B00

    oklch(62.3% 0.173 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7974EC

    #7974EC

    oklch(62.2% 0.175 281.9)

  • #DA591C

    #DA591C

    oklch(62.3% 0.176 41.8)

  • #00A06D

    #00A06D

    oklch(62.4% 0.137 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7974EC

    #7974EC

    oklch(62.2% 0.175 281.9)

  • #DB4F6A

    #DB4F6A

    oklch(62.3% 0.175 12.2)

  • #978900

    #978900

    oklch(62.3% 0.131 102.2)

  • #009B97

    #009B97

    oklch(62.3% 0.107 191.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7974EC.

Similar named colors

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

Use #7974EC 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.