#6845A9

Closest named color: Rebecca Purple (#663399). oklch(48.1% 0.154 296.3), rgb(104, 69, 169).

Aa

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

About this color

#6845A9 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.154 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.046 away. White text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.154)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.01:1
White text6.97:1

Values

HEX#6845A9
RGBrgb(104, 69, 169)
HSLhsl(261, 42%, 47%)
OKLCHoklch(48.1% 0.154 296.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 #6845A9 6.97:1 AA Lc -88.8 Fine for body text
Black text on #6845A9 3.01:1 AA large text Lc 20.3 Dividers and decoration only
#6845A9 text on white 6.97:1 AA Lc 83.8 Fine for body text
#6845A9 text on black 3.01:1 AA large text Lc -18.2 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F2

    oklch(88.5% 0.041 296.2)

  4. Step 300

    300

    #C5B7EC

    oklch(80.9% 0.075 296.8)

  5. Step 400

    400

    #A890E2

    oklch(70.7% 0.12 296.7)

  6. Step 500

    500

    #9373DA

    oklch(63.1% 0.152 296.1)

  7. Step 600

    600

    #7E59C7

    oklch(55.6% 0.165 296.1)

  8. Step 700

    700 (this color)

    #6845A9

    oklch(48.1% 0.154 296.3)

  9. Step 800

    800

    #573C8B

    oklch(42.7% 0.127 296.4)

  10. Step 900

    900

    #47346F

    oklch(37.6% 0.099 296.2)

  11. Step 950

    950

    #2A1F41

    oklch(27% 0.062 297)

Export this scale for Tailwind in the Tailwind colors tool

#6845A9 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)#085AAC0.108
Deuteranopia (no green cones)#1C58A70.101
Tritanopia (no blue cones)#585A700.120
Achromatopsia (no color)#5959590.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #6845A9

    #6845A9

    oklch(48.1% 0.154 296.3)

  • #5B6500

    #5B6500

    oklch(48.1% 0.11 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6845A9

    #6845A9

    oklch(48.1% 0.154 296.3)

  • #3556B4

    #3556B4

    oklch(48.2% 0.154 266.2)

  • #88378B

    #88378B

    oklch(48.1% 0.154 326.2)

Open the analogous palette in the generator

Split complementary

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

  • #6845A9

    #6845A9

    oklch(48.1% 0.154 296.3)

  • #765900

    #765900

    oklch(48.1% 0.098 86.5)

  • #007223

    #007223

    oklch(48.1% 0.146 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6845A9

    #6845A9

    oklch(48.1% 0.154 296.3)

  • #8E4900

    #8E4900

    oklch(48.1% 0.117 56.5)

  • #006E5C

    #006E5C

    oklch(48.1% 0.09 176.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6845A9

    #6845A9

    oklch(48.1% 0.154 296.3)

  • #A32E2B

    #A32E2B

    oklch(48.1% 0.154 26.3)

  • #5B6500

    #5B6500

    oklch(48.1% 0.11 116.3)

  • #006B75

    #006B75

    oklch(48.2% 0.082 206.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6845A9 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.