#837CEA

Closest named color: Periwinkle (#8E82FE). oklch(64.3% 0.16 283.8), rgb(131, 124, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.160)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.03:1
White text3.47:1

Values

HEX#837CEA
RGBrgb(131, 124, 234)
HSLhsl(244, 72%, 70%)
OKLCHoklch(64.3% 0.16 283.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 #837CEA 3.47:1 AA large text Lc -67.6 Content text, not long reading
Black text on #837CEA 6.03:1 AA Lc 41.9 Non-text elements, placeholder text
#837CEA text on white 3.47:1 AA large text Lc 62.2 Content text, not long reading
#837CEA text on black 6.03:1 AA Lc -39.5 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

    #E7E8F9

    oklch(93.5% 0.023 283.3)

  3. Step 200

    200

    #D5D6F6

    oklch(88.5% 0.044 284)

  4. Step 300

    300

    #BABAF2

    oklch(80.8% 0.079 284.5)

  5. Step 400

    400

    #9795EC

    oklch(70.7% 0.126 283.7)

  6. Step 500

    500 (this color)

    #837CEA

    oklch(64.3% 0.16 283.8)

  7. Step 600

    600

    #6A5ED4

    oklch(55.5% 0.175 283.7)

  8. Step 700

    700

    #594DB8

    oklch(49.2% 0.163 283.7)

  9. Step 800

    800

    #484095

    oklch(42.7% 0.135 283.4)

  10. Step 900

    900

    #3C3776

    oklch(37.7% 0.104 283.8)

  11. Step 950

    950

    #232145

    oklch(27% 0.065 283.6)

Export this scale for Tailwind in the Tailwind colors tool

#837CEA 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)#4F8DEE0.069
Deuteranopia (no green cones)#4A86E80.069
Tritanopia (no blue cones)#6293A80.137
Achromatopsia (no color)#8989890.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #837CEA

    #837CEA

    oklch(64.3% 0.16 283.8)

  • #9C9000

    #9C9000

    oklch(64.4% 0.136 103.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #837CEA

    #837CEA

    oklch(64.3% 0.16 283.8)

  • #3C8FEB

    #3C8FEB

    oklch(64.4% 0.159 253.5)

  • #B06CD1

    #B06CD1

    oklch(64.5% 0.16 313.8)

Open the analogous palette in the generator

Split complementary

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

  • #837CEA

    #837CEA

    oklch(64.3% 0.16 283.8)

  • #BE7E00

    #BE7E00

    oklch(64.3% 0.137 73.6)

  • #62A12D

    #62A12D

    oklch(64.3% 0.16 133.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #837CEA

    #837CEA

    oklch(64.3% 0.16 283.8)

  • #DA662E

    #DA662E

    oklch(64.2% 0.161 43.8)

  • #00A776

    #00A776

    oklch(64.5% 0.138 163.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #837CEA

    #837CEA

    oklch(64.3% 0.16 283.8)

  • #DD5D6F

    #DD5D6F

    oklch(64.4% 0.16 14.2)

  • #9C9000

    #9C9000

    oklch(64.4% 0.136 103.6)

  • #00A2A0

    #00A2A0

    oklch(64.4% 0.11 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 #837CEA, closest first.

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

Similar named colors

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

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