#6816A8

Closest named color: Grape (#7209B7). oklch(42.6% 0.207 303.2), rgb(104, 22, 168).

Aa

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

About this color

#6816A8 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.207 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape (#7209B7), ΔE 0.030 away. White text reads best on it, at 9.25:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.207)
Temperaturein between
Nearest nameGrape (#7209B7)
Black text2.26:1
White text9.25:1

Values

HEX#6816A8
RGBrgb(104, 22, 168)
HSLhsl(274, 77%, 37%)
OKLCHoklch(42.6% 0.207 303.2)

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 #6816A8 9.25:1 AAA Lc -94.4 Preferred for body text
Black text on #6816A8 2.26:1 Fails Lc 14.1 Not readable
#6816A8 text on white 9.25:1 AAA Lc 89.9 Fine for body text
#6816A8 text on black 2.26:1 Fails Lc -12.4 Not readable

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 800.

  1. Step 50

    50

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E2CFFE

    oklch(88.5% 0.067 303.4)

  4. Step 300

    300

    #D0AEFF

    oklch(80.9% 0.117 303.1)

  5. Step 400

    400

    #B97EFF

    oklch(70.7% 0.188 303)

  6. Step 500

    500

    #AA52FF

    oklch(63.1% 0.245 303.3)

  7. Step 600

    600

    #9625EF

    oklch(55.5% 0.268 303.1)

  8. Step 700

    700

    #8110D0

    oklch(49.1% 0.249 303.4)

  9. Step 800

    800 (this color)

    #6816A8

    oklch(42.6% 0.207 303.2)

  10. Step 900

    900

    #541E85

    oklch(37.6% 0.161 303.1)

  11. Step 950

    950

    #31144E

    oklch(26.9% 0.102 303)

Export this scale for Tailwind in the Tailwind colors tool

#6816A8 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)#0046AC0.143
Deuteranopia (no green cones)#0047A50.145
Tritanopia (no blue cones)#5A42630.148
Achromatopsia (no color)#4747470.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #6816A8

    #6816A8

    oklch(42.6% 0.207 303.2)

  • #445700

    #445700

    oklch(42.5% 0.104 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6816A8

    #6816A8

    oklch(42.6% 0.207 303.2)

  • #3333BC

    #3333BC

    oklch(42.5% 0.206 273.3)

  • #850079

    #850079

    oklch(42.5% 0.191 333.2)

Open the analogous palette in the generator

Split complementary

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

  • #6816A8

    #6816A8

    oklch(42.6% 0.207 303.2)

  • #5F4D00

    #5F4D00

    oklch(42.6% 0.087 93.4)

  • #005F30

    #005F30

    oklch(42.6% 0.109 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6816A8

    #6816A8

    oklch(42.6% 0.207 303.2)

  • #734100

    #734100

    oklch(42.7% 0.097 63.4)

  • #005C53

    #005C53

    oklch(42.6% 0.076 183.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6816A8

    #6816A8

    oklch(42.6% 0.207 303.2)

  • #911B00

    #911B00

    oklch(42.6% 0.157 33.2)

  • #445700

    #445700

    oklch(42.5% 0.104 123)

  • #005967

    #005967

    oklch(42.6% 0.075 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6816A8 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.