#816BAF

Closest named color: Dark Lavender (#856798). oklch(57.7% 0.104 297.9), rgb(129, 107, 175).

Aa

Black text reads best on this color (4.65:1).

About this color

#816BAF is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.104 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.035 away. Black text reads best on it, at 4.65:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.65:1
White text4.51:1

Values

HEX#816BAF
RGBrgb(129, 107, 175)
HSLhsl(259, 30%, 55%)
OKLCHoklch(57.7% 0.104 297.9)

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 #816BAF 4.51:1 AA Lc -76.7 Fine for body text
Black text on #816BAF 4.65:1 AA Lc 32.8 Non-text elements, placeholder text
#816BAF text on white 4.51:1 AA Lc 71.2 Content text, not long reading
#816BAF text on black 4.65:1 AA Lc -30.4 Non-text elements, placeholder text

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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C4BBDC

    oklch(81% 0.047 297.8)

  5. Step 400

    400

    #A697CA

    oklch(70.7% 0.075 297.9)

  6. Step 500

    500

    #907DBC

    oklch(63.1% 0.095 297.5)

  7. Step 600

    600 (this color)

    #816BAF

    oklch(57.7% 0.104 297.9)

  8. Step 700

    700

    #685390

    oklch(49% 0.098 298.6)

  9. Step 800

    800

    #544575

    oklch(42.7% 0.079 297.3)

  10. Step 900

    900

    #463A5F

    oklch(37.8% 0.063 298.2)

  11. Step 950

    950

    #292237

    oklch(27% 0.039 299.1)

Export this scale for Tailwind in the Tailwind colors tool

#816BAF 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)#5977B20.061
Deuteranopia (no green cones)#5D76AD0.057
Tritanopia (no blue cones)#7877850.084
Achromatopsia (no color)#7676760.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #816BAF

    #816BAF

    oklch(57.7% 0.104 297.9)

  • #748133

    #748133

    oklch(57.6% 0.104 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #816BAF

    #816BAF

    oklch(57.7% 0.104 297.9)

  • #5F76B7

    #5F76B7

    oklch(57.6% 0.104 268.2)

  • #9A6299

    #9A6299

    oklch(57.6% 0.105 327.4)

Open the analogous palette in the generator

Split complementary

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

  • #816BAF

    #816BAF

    oklch(57.7% 0.104 297.9)

  • #937522

    #937522

    oklch(57.6% 0.104 88)

  • #4A8A55

    #4A8A55

    oklch(57.6% 0.104 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #816BAF

    #816BAF

    oklch(57.7% 0.104 297.9)

  • #A76835

    #A76835

    oklch(57.6% 0.105 57.5)

  • #0A8D79

    #0A8D79

    oklch(57.6% 0.104 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #816BAF

    #816BAF

    oklch(57.7% 0.104 297.9)

  • #AF6056

    #AF6056

    oklch(57.8% 0.104 28.3)

  • #748133

    #748133

    oklch(57.6% 0.104 117.7)

  • #008998

    #008998

    oklch(57.6% 0.099 208.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #816BAF 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.