#7F74FE

Closest named color: Cornflower (#6A79F7). oklch(63.9% 0.198 282.8), rgb(127, 116, 254).

Aa

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

About this color

#7F74FE is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.198 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.032 away. Black text reads best on it, at 5.83:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.198)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.83:1
White text3.60:1

Values

HEX#7F74FE
RGBrgb(127, 116, 254)
HSLhsl(245, 99%, 73%)
OKLCHoklch(63.9% 0.198 282.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 #7F74FE 3.60:1 AA large text Lc -68.8 Content text, not long reading
Black text on #7F74FE 5.83:1 AA Lc 40.8 Non-text elements, placeholder text
#7F74FE text on white 3.60:1 AA large text Lc 63.3 Content text, not long reading
#7F74FE text on black 5.83:1 AA Lc -38.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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D3D5FD

    oklch(88.4% 0.055 283)

  4. Step 300

    300

    #B7B9FE

    oklch(80.9% 0.097 282.7)

  5. Step 400

    400

    #9491FD

    oklch(70.6% 0.155 282.9)

  6. Step 500

    500 (this color)

    #7F74FE

    oklch(63.9% 0.198 282.8)

  7. Step 600

    600

    #6855EA

    oklch(55.6% 0.215 282.6)

  8. Step 700

    700

    #5844CC

    oklch(49.2% 0.2 282.9)

  9. Step 800

    800

    #4739A5

    oklch(42.7% 0.166 282.7)

  10. Step 900

    900

    #3B3383

    oklch(37.8% 0.13 282.8)

  11. Step 950

    950

    #221F4C

    oklch(27% 0.081 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F74FE 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)#1E8BFF0.096
Deuteranopia (no green cones)#0882FB0.098
Tritanopia (no blue cones)#4E93AE0.169
Achromatopsia (no color)#8787870.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F74FE

    #7F74FE

    oklch(63.9% 0.198 282.8)

  • #9B8E00

    #9B8E00

    oklch(63.8% 0.134 103)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F74FE

    #7F74FE

    oklch(63.9% 0.198 282.8)

  • #008CFE

    #008CFE

    oklch(64% 0.196 252.8)

  • #B45FE0

    #B45FE0

    oklch(63.9% 0.198 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F74FE

    #7F74FE

    oklch(63.9% 0.198 282.8)

  • #BD7C00

    #BD7C00

    oklch(63.8% 0.136 72.7)

  • #5EA100

    #5EA100

    oklch(63.9% 0.18 132.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F74FE

    #7F74FE

    oklch(63.9% 0.198 282.8)

  • #E55900

    #E55900

    oklch(63.9% 0.19 42.9)

  • #00A573

    #00A573

    oklch(63.9% 0.138 163)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F74FE

    #7F74FE

    oklch(63.9% 0.198 282.8)

  • #EA4869

    #EA4869

    oklch(63.9% 0.198 13)

  • #9B8E00

    #9B8E00

    oklch(63.8% 0.134 103)

  • #00A09E

    #00A09E

    oklch(63.8% 0.109 193.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7F74FE.

Similar named colors

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

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