#6845AC

Closest named color: Bluey Purple (#6241C7). oklch(48.3% 0.158 295.6), rgb(104, 69, 172).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.158)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.03:1
White text6.91:1

Values

HEX#6845AC
RGBrgb(104, 69, 172)
HSLhsl(260, 43%, 47%)
OKLCHoklch(48.3% 0.158 295.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 #6845AC 6.91:1 AA Lc -88.5 Fine for body text
Black text on #6845AC 3.03:1 AA large text Lc 20.5 Dividers and decoration only
#6845AC text on white 6.91:1 AA Lc 83.6 Fine for body text
#6845AC text on black 3.03:1 AA large text Lc -18.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F3

    oklch(88.5% 0.043 295.9)

  4. Step 300

    300

    #C4B7ED

    oklch(80.8% 0.076 295.7)

  5. Step 400

    400

    #A790E4

    oklch(70.7% 0.122 295.7)

  6. Step 500

    500

    #9272DC

    oklch(63% 0.156 295.5)

  7. Step 600

    600

    #7E58CA

    oklch(55.6% 0.17 295.7)

  8. Step 700

    700 (this color)

    #6845AC

    oklch(48.3% 0.158 295.6)

  9. Step 800

    800

    #563B8D

    oklch(42.6% 0.131 295.5)

  10. Step 900

    900

    #473471

    oklch(37.8% 0.102 295.5)

  11. Step 950

    950

    #291F42

    oklch(27% 0.064 294.9)

Export this scale for Tailwind in the Tailwind colors tool

#6845AC 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)#005BAF0.110
Deuteranopia (no green cones)#1658AA0.103
Tritanopia (no blue cones)#575B720.123
Achromatopsia (no color)#5A5A5A0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #6845AC

    #6845AC

    oklch(48.3% 0.158 295.6)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6845AC

    #6845AC

    oklch(48.3% 0.158 295.6)

  • #3356B6

    #3356B6

    oklch(48.3% 0.158 265.7)

  • #89368E

    #89368E

    oklch(48.3% 0.158 325.4)

Open the analogous palette in the generator

Split complementary

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

  • #6845AC

    #6845AC

    oklch(48.3% 0.158 295.6)

  • #785900

    #785900

    oklch(48.3% 0.099 85)

  • #00731F

    #00731F

    oklch(48.3% 0.15 145.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6845AC

    #6845AC

    oklch(48.3% 0.158 295.6)

  • #904900

    #904900

    oklch(48.4% 0.119 55.6)

  • #006F5C

    #006F5C

    oklch(48.4% 0.091 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6845AC

    #6845AC

    oklch(48.3% 0.158 295.6)

  • #A52C2B

    #A52C2B

    oklch(48.3% 0.158 25.7)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

  • #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 #6845AC, closest first.

Similar named colors

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

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