#8397FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.7% 0.153 273.6), rgb(131, 151, 255).

Aa

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

About this color

#8397FF is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.153 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.018 away. Black text reads best on it, at 7.83:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromavivid (0.153)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.83:1
White text2.68:1

Values

HEX#8397FF
RGBrgb(131, 151, 255)
HSLhsl(230, 100%, 76%)
OKLCHoklch(70.7% 0.153 273.6)

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 #8397FF 2.68:1 Fails Lc -57.1 Large or bold text, headings
Black text on #8397FF 7.83:1 AAA Lc 52.1 Large or bold text, headings
#8397FF text on white 2.68:1 Fails Lc 51.9 Large or bold text, headings
#8397FF text on black 7.83:1 AAA Lc -50.0 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

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CDD7FD

    oklch(88.4% 0.054 273.7)

  4. Step 300

    300

    #ADBDFF

    oklch(81% 0.095 273.6)

  5. Step 400

    400 (this color)

    #8397FF

    oklch(70.7% 0.153 273.6)

  6. Step 500

    500

    #6779FD

    oklch(63.1% 0.195 273.6)

  7. Step 600

    600

    #525DED

    oklch(55.6% 0.214 273.8)

  8. Step 700

    700

    #434CCE

    oklch(49.2% 0.198 273.5)

  9. Step 800

    800

    #373FA6

    oklch(42.7% 0.163 273.8)

  10. Step 900

    900

    #2E3784

    oklch(37.7% 0.128 273.5)

  11. Step 950

    950

    #1B214D

    oklch(27% 0.081 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#8397FF 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)#6EA3FF0.036
Deuteranopia (no green cones)#6299FD0.037
Tritanopia (no blue cones)#51ADBF0.136
Achromatopsia (no color)#9E9E9E0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #8397FF

    #8397FF

    oklch(70.7% 0.153 273.6)

  • #BF9D00

    #BF9D00

    oklch(70.6% 0.145 93.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8397FF

    #8397FF

    oklch(70.7% 0.153 273.6)

  • #34A9F8

    #34A9F8

    oklch(70.7% 0.153 243.5)

  • #B586EE

    #B586EE

    oklch(70.7% 0.154 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #8397FF

    #8397FF

    oklch(70.7% 0.153 273.6)

  • #E1881B

    #E1881B

    oklch(70.6% 0.153 63.6)

  • #8EB033

    #8EB033

    oklch(70.8% 0.153 123.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8397FF

    #8397FF

    oklch(70.7% 0.153 273.6)

  • #F0785E

    #F0785E

    oklch(70.6% 0.153 33.5)

  • #3FBB72

    #3FBB72

    oklch(70.6% 0.153 153.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8397FF

    #8397FF

    oklch(70.7% 0.153 273.6)

  • #ED7396

    #ED7396

    oklch(70.7% 0.154 3.7)

  • #BF9D00

    #BF9D00

    oklch(70.6% 0.145 93.3)

  • #00B9A9

    #00B9A9

    oklch(70.6% 0.125 184)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8397FF 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.