#837AEF

Closest named color: Periwinkle (#8E82FE). oklch(64.3% 0.17 284), rgb(131, 122, 239).

Aa

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

About this color

#837AEF is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.170 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.033 away. Black text reads best on it, at 5.99:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.170)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text5.99:1
White text3.50:1

Values

HEX#837AEF
RGBrgb(131, 122, 239)
HSLhsl(245, 79%, 71%)
OKLCHoklch(64.3% 0.17 284)

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 #837AEF 3.50:1 AA large text Lc -67.9 Content text, not long reading
Black text on #837AEF 5.99:1 AA Lc 41.7 Non-text elements, placeholder text
#837AEF text on white 3.50:1 AA large text Lc 62.4 Content text, not long reading
#837AEF text on black 5.99:1 AA Lc -39.3 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

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D5D6F7

    oklch(88.6% 0.045 284.1)

  4. Step 300

    300

    #B9BAF5

    oklch(80.9% 0.083 283.6)

  5. Step 400

    400

    #9794F0

    oklch(70.7% 0.133 283.9)

  6. Step 500

    500 (this color)

    #837AEF

    oklch(64.3% 0.17 284)

  7. Step 600

    600

    #6B5CD9

    oklch(55.6% 0.184 284.1)

  8. Step 700

    700

    #594BBC

    oklch(49.1% 0.171 283.8)

  9. Step 800

    800

    #493E98

    oklch(42.7% 0.142 284.2)

  10. Step 900

    900

    #3C3679

    oklch(37.7% 0.11 283.8)

  11. Step 950

    950

    #232047

    oklch(27% 0.07 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#837AEF 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)#478DF30.076
Deuteranopia (no green cones)#4285EC0.076
Tritanopia (no blue cones)#6093A90.146
Achromatopsia (no color)#8989890.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #837AEF

    #837AEF

    oklch(64.3% 0.17 284)

  • #9B9000

    #9B9000

    oklch(64.3% 0.136 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #837AEF

    #837AEF

    oklch(64.3% 0.17 284)

  • #358EF1

    #358EF1

    oklch(64.4% 0.17 253.9)

  • #B268D4

    #B268D4

    oklch(64.2% 0.171 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #837AEF

    #837AEF

    oklch(64.3% 0.17 284)

  • #BD7E00

    #BD7E00

    oklch(64.2% 0.136 74.1)

  • #5EA222

    #5EA222

    oklch(64.3% 0.17 134.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #837AEF

    #837AEF

    oklch(64.3% 0.17 284)

  • #DE6323

    #DE6323

    oklch(64.3% 0.17 44.1)

  • #00A676

    #00A676

    oklch(64.2% 0.137 164)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #837AEF

    #837AEF

    oklch(64.3% 0.17 284)

  • #E0586D

    #E0586D

    oklch(64.2% 0.17 14)

  • #9B9000

    #9B9000

    oklch(64.3% 0.136 104.1)

  • #00A1A0

    #00A1A0

    oklch(64.2% 0.11 194)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #837AEF.

Similar named colors

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

Use #837AEF 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.