#6852EA

Closest named color: Light Indigo (#6D5ACF). oklch(55.1% 0.218 283.1), rgb(104, 82, 234).

Aa

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

About this color

#6852EA is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.218 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.047 away. White text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.218)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text3.98:1
White text5.27:1

Values

HEX#6852EA
RGBrgb(104, 82, 234)
HSLhsl(249, 78%, 62%)
OKLCHoklch(55.1% 0.218 283.1)

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 #6852EA 5.27:1 AA Lc -81.0 Fine for body text
Black text on #6852EA 3.98:1 AA large text Lc 28.5 Dividers and decoration only
#6852EA text on white 5.27:1 AA Lc 75.6 Fine for body text
#6852EA text on black 3.98:1 AA large text Lc -26.1 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 600.

  1. Step 50

    50

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D3D5FD

    oklch(88.4% 0.055 283)

  4. Step 300

    300

    #B7B9FF

    oklch(80.9% 0.098 282.7)

  5. Step 400

    400

    #9591FE

    oklch(70.7% 0.156 283.3)

  6. Step 500

    500

    #7D71FD

    oklch(63.2% 0.201 282.9)

  7. Step 600

    600 (this color)

    #6852EA

    oklch(55.1% 0.218 283.1)

  8. Step 700

    700

    #5842CD

    oklch(49% 0.204 283.1)

  9. Step 800

    800

    #4838A6

    oklch(42.7% 0.169 283.2)

  10. Step 900

    900

    #3B3283

    oklch(37.6% 0.131 283.1)

  11. Step 950

    950

    #221E4D

    oklch(26.9% 0.084 283.1)

Export this scale for Tailwind in the Tailwind colors tool

#6852EA 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)#0071EF0.097
Deuteranopia (no green cones)#0067E70.091
Tritanopia (no blue cones)#2778970.183
Achromatopsia (no color)#6C6C6C0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #6852EA

    #6852EA

    oklch(55.1% 0.218 283.1)

  • #7F7400

    #7F7400

    oklch(55.2% 0.116 102.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6852EA

    #6852EA

    oklch(55.1% 0.218 283.1)

  • #0071D1

    #0071D1

    oklch(55% 0.171 253.2)

  • #9D39C9

    #9D39C9

    oklch(55.1% 0.218 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #6852EA

    #6852EA

    oklch(55.1% 0.218 283.1)

  • #9B6500

    #9B6500

    oklch(55.2% 0.118 72.8)

  • #4A8400

    #4A8400

    oklch(55.2% 0.156 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6852EA

    #6852EA

    oklch(55.1% 0.218 283.1)

  • #BC4800

    #BC4800

    oklch(55.2% 0.163 43)

  • #00875E

    #00875E

    oklch(55.2% 0.119 163.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6852EA

    #6852EA

    oklch(55.1% 0.218 283.1)

  • #D2054C

    #D2054C

    oklch(55.1% 0.219 13.1)

  • #7F7400

    #7F7400

    oklch(55.2% 0.116 102.9)

  • #008381

    #008381

    oklch(55.2% 0.094 192.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6852EA 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.