#7F81FA

Closest named color: Periwinkle (#8E82FE). oklch(65.9% 0.176 279.7), rgb(127, 129, 250).

Aa

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

About this color

#7F81FA is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.176 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.023 away. Black text reads best on it, at 6.42:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromavivid (0.176)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.42:1
White text3.26:1

Values

HEX#7F81FA
RGBrgb(127, 129, 250)
HSLhsl(239, 92%, 74%)
OKLCHoklch(65.9% 0.176 279.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 #7F81FA 3.26:1 AA large text Lc -65.2 Content text, not long reading
Black text on #7F81FA 6.42:1 AA Lc 44.3 Non-text elements, placeholder text
#7F81FA text on white 3.26:1 AA large text Lc 59.8 Large or bold text, headings
#7F81FA text on black 6.42:1 AA Lc -41.9 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

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D2D6F9

    oklch(88.4% 0.048 280.2)

  4. Step 300

    300

    #B5BBF8

    oklch(80.9% 0.086 279.9)

  5. Step 400

    400

    #9096F4

    oklch(70.8% 0.137 279.5)

  6. Step 500

    500 (this color)

    #7F81FA

    oklch(65.9% 0.176 279.7)

  7. Step 600

    600

    #625DDF

    oklch(55.6% 0.192 279.8)

  8. Step 700

    700

    #514CC1

    oklch(49% 0.177 279.5)

  9. Step 800

    800

    #423F9C

    oklch(42.6% 0.147 279.6)

  10. Step 900

    900

    #37377C

    oklch(37.7% 0.114 279.4)

  11. Step 950

    950

    #202149

    oklch(27.1% 0.073 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F81FA 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)#4993FE0.067
Deuteranopia (no green cones)#3F8AF70.069
Tritanopia (no blue cones)#4F9BB20.152
Achromatopsia (no color)#8E8E8E0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F81FA

    #7F81FA

    oklch(65.9% 0.176 279.7)

  • #A69300

    #A69300

    oklch(66% 0.137 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F81FA

    #7F81FA

    oklch(65.9% 0.176 279.7)

  • #1C96F8

    #1C96F8

    oklch(66% 0.176 249.6)

  • #B26EE1

    #B26EE1

    oklch(65.8% 0.176 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F81FA

    #7F81FA

    oklch(65.9% 0.176 279.7)

  • #C97F00

    #C97F00

    oklch(65.9% 0.143 69.3)

  • #6EA603

    #6EA603

    oklch(66.1% 0.176 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F81FA

    #7F81FA

    oklch(65.9% 0.176 279.7)

  • #E86332

    #E86332

    oklch(65.9% 0.177 39.5)

  • #00AD71

    #00AD71

    oklch(66% 0.15 159.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F81FA

    #7F81FA

    oklch(65.9% 0.176 279.7)

  • #E75A7A

    #E75A7A

    oklch(65.8% 0.176 9.4)

  • #A69300

    #A69300

    oklch(66% 0.137 100.1)

  • #00A8A1

    #00A8A1

    oklch(66% 0.114 189.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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