#836CD2

Closest named color: Medium Purple (#9370DB). oklch(60% 0.151 291.6), rgb(131, 108, 210).

Aa

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

About this color

#836CD2 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.151 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.031 away. Black text reads best on it, at 5.04:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.151)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.04:1
White text4.16:1

Values

HEX#836CD2
RGBrgb(131, 108, 210)
HSLhsl(254, 53%, 62%)
OKLCHoklch(60% 0.151 291.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 #836CD2 4.16:1 AA large text Lc -74.0 Content text, not long reading
Black text on #836CD2 5.04:1 AA Lc 35.6 Non-text elements, placeholder text
#836CD2 text on white 4.16:1 AA large text Lc 68.5 Content text, not long reading
#836CD2 text on black 5.04:1 AA Lc -33.2 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #D9D5F3

    oklch(88.5% 0.041 291.7)

  4. Step 300

    300

    #C1B9ED

    oklch(81% 0.073 291.7)

  5. Step 400

    400

    #A293E4

    oklch(70.8% 0.117 291.6)

  6. Step 500

    500 (this color)

    #836CD2

    oklch(60% 0.151 291.6)

  7. Step 600

    600

    #775CCA

    oklch(55.6% 0.164 291.5)

  8. Step 700

    700

    #644BAF

    oklch(49.1% 0.153 291.3)

  9. Step 800

    800

    #523E8D

    oklch(42.7% 0.126 291.9)

  10. Step 900

    900

    #433671

    oklch(37.8% 0.098 291.1)

  11. Step 950

    950

    #272042

    oklch(27% 0.062 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#836CD2 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)#467ED60.083
Deuteranopia (no green cones)#487AD00.080
Tritanopia (no blue cones)#6F80950.123
Achromatopsia (no color)#7C7C7C0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #836CD2

    #836CD2

    oklch(60% 0.151 291.6)

  • #838700

    #838700

    oklch(60% 0.133 111.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #836CD2

    #836CD2

    oklch(60% 0.151 291.6)

  • #4B7DD9

    #4B7DD9

    oklch(60% 0.151 261.5)

  • #A95EB6

    #A95EB6

    oklch(60.1% 0.151 321.5)

Open the analogous palette in the generator

Split complementary

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

  • #836CD2

    #836CD2

    oklch(60% 0.151 291.6)

  • #A57700

    #A57700

    oklch(60% 0.124 81.5)

  • #44963A

    #44963A

    oklch(60.1% 0.152 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #836CD2

    #836CD2

    oklch(60% 0.151 291.6)

  • #C4600D

    #C4600D

    oklch(59.9% 0.151 51.4)

  • #009678

    #009678

    oklch(60% 0.116 172)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #836CD2

    #836CD2

    oklch(60% 0.151 291.6)

  • #CB5457

    #CB5457

    oklch(60% 0.152 21.3)

  • #838700

    #838700

    oklch(60% 0.133 111.9)

  • #00929A

    #00929A

    oklch(60.1% 0.102 201.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #836CD2 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.