#837CCD

Closest named color: Medium Purple (#9370DB). oklch(62.7% 0.12 286.3), rgb(131, 124, 205).

Aa

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

About this color

#837CCD is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.120 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.045 away. Black text reads best on it, at 5.72:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.72:1
White text3.66:1

Values

HEX#837CCD
RGBrgb(131, 124, 205)
HSLhsl(245, 45%, 65%)
OKLCHoklch(62.7% 0.12 286.3)

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 #837CCD 3.66:1 AA large text Lc -69.6 Content text, not long reading
Black text on #837CCD 5.72:1 AA Lc 39.9 Non-text elements, placeholder text
#837CCD text on white 3.66:1 AA large text Lc 64.1 Content text, not long reading
#837CCD text on black 5.72:1 AA Lc -37.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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F5

    oklch(93.5% 0.017 286.1)

  3. Step 200

    200

    #D7D6EE

    oklch(88.4% 0.033 287.6)

  4. Step 300

    300

    #BDBCE6

    oklch(81% 0.059 286.1)

  5. Step 400

    400

    #9C98D9

    oklch(70.8% 0.094 286.5)

  6. Step 500

    500 (this color)

    #837CCD

    oklch(62.7% 0.12 286.3)

  7. Step 600

    600

    #6F65BB

    oklch(55.6% 0.13 286.7)

  8. Step 700

    700

    #5D54A1

    oklch(49.2% 0.12 286.5)

  9. Step 800

    800

    #4C4583

    oklch(42.8% 0.1 286.5)

  10. Step 900

    900

    #3F3A69

    oklch(37.7% 0.079 286.8)

  11. Step 950

    950

    #25223D

    oklch(26.9% 0.05 287.7)

Export this scale for Tailwind in the Tailwind colors tool

#837CCD 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)#6288D00.049
Deuteranopia (no green cones)#6083CB0.048
Tritanopia (no blue cones)#6F8B9B0.101
Achromatopsia (no color)#8686860.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #837CCD

    #837CCD

    oklch(62.7% 0.12 286.3)

  • #928C25

    #928C25

    oklch(62.7% 0.12 106)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #837CCD

    #837CCD

    oklch(62.7% 0.12 286.3)

  • #568AD0

    #568AD0

    oklch(62.8% 0.12 256.3)

  • #A570B9

    #A570B9

    oklch(62.7% 0.121 316.4)

Open the analogous palette in the generator

Split complementary

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

  • #837CCD

    #837CCD

    oklch(62.7% 0.12 286.3)

  • #B17D21

    #B17D21

    oklch(62.7% 0.12 76.4)

  • #65994D

    #65994D

    oklch(62.8% 0.12 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #837CCD

    #837CCD

    oklch(62.7% 0.12 286.3)

  • #C36F45

    #C36F45

    oklch(62.7% 0.121 46.3)

  • #239F78

    #239F78

    oklch(62.7% 0.12 166.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #837CCD

    #837CCD

    oklch(62.7% 0.12 286.3)

  • #C6686F

    #C6686F

    oklch(62.8% 0.12 16.4)

  • #928C25

    #928C25

    oklch(62.7% 0.12 106)

  • #009C9E

    #009C9E

    oklch(62.8% 0.107 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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