#6836B4

Closest named color: Bluey Purple (#6241C7). oklch(46.8% 0.188 296.6), rgb(104, 54, 180).

Aa

White text reads best on this color (7.56:1).

About this color

#6836B4 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.188 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.038 away. White text reads best on it, at 7.56:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.188)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text2.77:1
White text7.56:1

Values

HEX#6836B4
RGBrgb(104, 54, 180)
HSLhsl(264, 54%, 46%)
OKLCHoklch(46.8% 0.188 296.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 #6836B4 7.56:1 AAA Lc -90.5 Preferred for body text
Black text on #6836B4 2.77:1 Fails Lc 18.4 Dividers and decoration only
#6836B4 text on white 7.56:1 AAA Lc 85.6 Fine for body text
#6836B4 text on black 2.77:1 Fails Lc -16.4 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C6B5F5

    oklch(81% 0.091 296.5)

  5. Step 400

    400

    #AA8BF0

    oklch(70.6% 0.146 296.6)

  6. Step 500

    500

    #976BEA

    oklch(63.2% 0.185 296.7)

  7. Step 600

    600

    #824ED9

    oklch(55.6% 0.203 296.4)

  8. Step 700

    700 (this color)

    #6836B4

    oklch(46.8% 0.188 296.6)

  9. Step 800

    800

    #5A3498

    oklch(42.7% 0.156 296.7)

  10. Step 900

    900

    #492F79

    oklch(37.7% 0.121 296.3)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#6836B4 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)#0055B80.121
Deuteranopia (no green cones)#0052B10.120
Tritanopia (no blue cones)#5455710.144
Achromatopsia (no color)#5454540.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #6836B4

    #6836B4

    oklch(46.8% 0.188 296.6)

  • #576100

    #576100

    oklch(46.8% 0.107 116.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6836B4

    #6836B4

    oklch(46.8% 0.188 296.6)

  • #2A4CC1

    #2A4CC1

    oklch(46.8% 0.187 266.5)

  • #8C2190

    #8C2190

    oklch(46.8% 0.188 326.5)

Open the analogous palette in the generator

Split complementary

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

  • #6836B4

    #6836B4

    oklch(46.8% 0.188 296.6)

  • #715600

    #715600

    oklch(46.8% 0.096 87.4)

  • #006E23

    #006E23

    oklch(46.9% 0.141 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6836B4

    #6836B4

    oklch(46.8% 0.188 296.6)

  • #884600

    #884600

    oklch(46.7% 0.113 56.8)

  • #006A59

    #006A59

    oklch(46.9% 0.087 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6836B4

    #6836B4

    oklch(46.8% 0.188 296.6)

  • #AB0514

    #AB0514

    oklch(46.8% 0.188 26.6)

  • #576100

    #576100

    oklch(46.8% 0.107 116.5)

  • #006671

    #006671

    oklch(46.7% 0.08 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6836B4 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.