#6845C8

Closest named color: Bluey Purple (#6241C7). oklch(50.4% 0.193 290), rgb(104, 69, 200).

Aa

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

About this color

#6845C8 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.193 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.014 away. White text reads best on it, at 6.41:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.193)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.27:1
White text6.41:1

Values

HEX#6845C8
RGBrgb(104, 69, 200)
HSLhsl(256, 54%, 53%)
OKLCHoklch(50.4% 0.193 290)

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 #6845C8 6.41:1 AA Lc -86.4 Fine for body text
Black text on #6845C8 3.27:1 AA large text Lc 22.7 Dividers and decoration only
#6845C8 text on white 6.41:1 AA Lc 81.3 Fine for body text
#6845C8 text on black 3.27:1 AA large text Lc -20.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 700.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #BFB7F9

    oklch(80.9% 0.093 289.7)

  5. Step 400

    400

    #A08EF6

    oklch(70.6% 0.149 290)

  6. Step 500

    500

    #8B6EF2

    oklch(63.1% 0.19 290)

  7. Step 600

    600

    #7751E1

    oklch(55.5% 0.208 290.1)

  8. Step 700

    700 (this color)

    #6845C8

    oklch(50.4% 0.193 290)

  9. Step 800

    800

    #52369E

    oklch(42.7% 0.16 290.3)

  10. Step 900

    900

    #43317E

    oklch(37.8% 0.125 289.9)

  11. Step 950

    950

    #271D4A

    oklch(27% 0.08 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#6845C8 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)#0061CC0.107
Deuteranopia (no green cones)#005CC50.105
Tritanopia (no blue cones)#4965800.157
Achromatopsia (no color)#5F5F5F0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #6845C8

    #6845C8

    oklch(50.4% 0.193 290)

  • #696900

    #696900

    oklch(50.4% 0.11 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6845C8

    #6845C8

    oklch(50.4% 0.193 290)

  • #105CD0

    #105CD0

    oklch(50.6% 0.193 259.9)

  • #9230A7

    #9230A7

    oklch(50.4% 0.194 320)

Open the analogous palette in the generator

Split complementary

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

  • #6845C8

    #6845C8

    oklch(50.4% 0.193 290)

  • #835C00

    #835C00

    oklch(50.3% 0.104 79.8)

  • #227900

    #227900

    oklch(50.5% 0.162 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6845C8

    #6845C8

    oklch(50.4% 0.193 290)

  • #9E4800

    #9E4800

    oklch(50.4% 0.133 50)

  • #00765C

    #00765C

    oklch(50.3% 0.099 170.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6845C8

    #6845C8

    oklch(50.4% 0.193 290)

  • #B91433

    #B91433

    oklch(50.4% 0.193 19.8)

  • #696900

    #696900

    oklch(50.4% 0.11 109.8)

  • #007378

    #007378

    oklch(50.5% 0.086 200.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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