#6854EB

Closest named color: Light Indigo (#6D5ACF). oklch(55.5% 0.217 282.7), rgb(104, 84, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.217)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text4.05:1
White text5.17:1

Values

HEX#6854EB
RGBrgb(104, 84, 235)
HSLhsl(248, 79%, 63%)
OKLCHoklch(55.5% 0.217 282.7)

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 #6854EB 5.17:1 AA Lc -80.5 Fine for body text
Black text on #6854EB 4.05:1 AA large text Lc 29.0 Dividers and decoration only
#6854EB text on white 5.17:1 AA Lc 75.1 Fine for body text
#6854EB text on black 4.05:1 AA large text Lc -26.6 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

    #B7B9FE

    oklch(80.9% 0.097 282.7)

  5. Step 400

    400

    #9491FE

    oklch(70.7% 0.157 282.9)

  6. Step 500

    500

    #7D71FC

    oklch(63.1% 0.2 282.9)

  7. Step 600

    600 (this color)

    #6854EB

    oklch(55.5% 0.217 282.7)

  8. Step 700

    700

    #5743CD

    oklch(49.1% 0.203 282.5)

  9. Step 800

    800

    #4739A5

    oklch(42.7% 0.166 282.7)

  10. Step 900

    900

    #3B3383

    oklch(37.8% 0.13 282.8)

  11. Step 950

    950

    #221F4D

    oklch(27.1% 0.082 282.4)

Export this scale for Tailwind in the Tailwind colors tool

#6854EB 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)#0072F00.095
Deuteranopia (no green cones)#0068E80.089
Tritanopia (no blue cones)#257A980.184
Achromatopsia (no color)#6D6D6D0.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #6854EB

    #6854EB

    oklch(55.5% 0.217 282.7)

  • #807500

    #807500

    oklch(55.5% 0.117 103)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6854EB

    #6854EB

    oklch(55.5% 0.217 282.7)

  • #0073D2

    #0073D2

    oklch(55.5% 0.17 252.7)

  • #9D3BCB

    #9D3BCB

    oklch(55.4% 0.218 312.6)

Open the analogous palette in the generator

Split complementary

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

  • #6854EB

    #6854EB

    oklch(55.5% 0.217 282.7)

  • #9C6600

    #9C6600

    oklch(55.5% 0.118 73)

  • #4D8500

    #4D8500

    oklch(55.6% 0.156 132.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6854EB

    #6854EB

    oklch(55.5% 0.217 282.7)

  • #BE4800

    #BE4800

    oklch(55.5% 0.165 42.7)

  • #00885E

    #00885E

    oklch(55.4% 0.12 162.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6854EB

    #6854EB

    oklch(55.5% 0.217 282.7)

  • #D30D4E

    #D30D4E

    oklch(55.6% 0.217 12.8)

  • #807500

    #807500

    oklch(55.5% 0.117 103)

  • #008482

    #008482

    oklch(55.5% 0.095 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 #6854EB, closest first.

Similar named colors

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

Use #6854EB 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.