#7898FA

Closest named color: Periwinkle Blue (#8F99FB). oklch(69.9% 0.148 268.7), rgb(120, 152, 250).

Aa

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

About this color

#7898FA is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.148 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.029 away. Black text reads best on it, at 7.67:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.148)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.67:1
White text2.73:1

Values

HEX#7898FA
RGBrgb(120, 152, 250)
HSLhsl(225, 93%, 73%)
OKLCHoklch(69.9% 0.148 268.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 #7898FA 2.73:1 Fails Lc -58.0 Large or bold text, headings
Black text on #7898FA 7.67:1 AAA Lc 51.2 Large or bold text, headings
#7898FA text on white 2.73:1 Fails Lc 52.8 Large or bold text, headings
#7898FA text on black 7.67:1 AAA Lc -49.1 Large or bold text, headings

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

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CBD9FC

    oklch(88.6% 0.051 268.1)

  4. Step 300

    300

    #A8BFFD

    oklch(81% 0.092 268.6)

  5. Step 400

    400 (this color)

    #7898FA

    oklch(69.9% 0.148 268.7)

  6. Step 500

    500

    #5B7EFB

    oklch(63.2% 0.19 268.7)

  7. Step 600

    600

    #4363EA

    oklch(55.6% 0.207 268.6)

  8. Step 700

    700

    #3651CB

    oklch(49.1% 0.191 268.7)

  9. Step 800

    800

    #2C43A4

    oklch(42.6% 0.159 268.6)

  10. Step 900

    900

    #273A82

    oklch(37.7% 0.123 268.7)

  11. Step 950

    950

    #17234C

    oklch(27.1% 0.077 268.6)

Export this scale for Tailwind in the Tailwind colors tool

#7898FA 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)#70A2FE0.026
Deuteranopia (no green cones)#6297F80.025
Tritanopia (no blue cones)#39ADBD0.133
Achromatopsia (no color)#9C9C9C0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #7898FA

    #7898FA

    oklch(69.9% 0.148 268.7)

  • #C29800

    #C29800

    oklch(69.9% 0.143 88.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7898FA

    #7898FA

    oklch(69.9% 0.148 268.7)

  • #22A9EF

    #22A9EF

    oklch(69.9% 0.148 238.6)

  • #AB87ED

    #AB87ED

    oklch(69.9% 0.149 298.8)

Open the analogous palette in the generator

Split complementary

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

  • #7898FA

    #7898FA

    oklch(69.9% 0.148 268.7)

  • #E1842D

    #E1842D

    oklch(70% 0.149 58.6)

  • #95AA2B

    #95AA2B

    oklch(69.9% 0.148 118.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7898FA

    #7898FA

    oklch(69.9% 0.148 268.7)

  • #EC7667

    #EC7667

    oklch(69.9% 0.149 28.8)

  • #51B768

    #51B768

    oklch(69.9% 0.149 148.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7898FA

    #7898FA

    oklch(69.9% 0.148 268.7)

  • #E6739C

    #E6739C

    oklch(70% 0.148 359.1)

  • #C29800

    #C29800

    oklch(69.9% 0.143 88.8)

  • #00B79F

    #00B79F

    oklch(69.8% 0.128 178.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7898FA 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.