#8162D6

Closest named color: Purpley (#8756E4). oklch(58.3% 0.171 292.6), rgb(129, 98, 214).

Aa

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

About this color

#8162D6 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.171 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.035 away. Black text reads best on it, at 4.65:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.171)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.65:1
White text4.51:1

Values

HEX#8162D6
RGBrgb(129, 98, 214)
HSLhsl(256, 59%, 61%)
OKLCHoklch(58.3% 0.171 292.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 #8162D6 4.51:1 AA Lc -76.5 Fine for body text
Black text on #8162D6 4.65:1 AA Lc 33.0 Non-text elements, placeholder text
#8162D6 text on white 4.51:1 AA Lc 71.1 Content text, not long reading
#8162D6 text on black 4.65:1 AA Lc -30.6 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #D9D5F4

    oklch(88.6% 0.042 291.4)

  4. Step 300

    300

    #C2B8EF

    oklch(81% 0.077 292.9)

  5. Step 400

    400

    #A391E6

    oklch(70.6% 0.123 292.7)

  6. Step 500

    500

    #8E74DF

    oklch(63.2% 0.157 292.5)

  7. Step 600

    600 (this color)

    #8162D6

    oklch(58.3% 0.171 292.6)

  8. Step 700

    700

    #6649B1

    oklch(49.1% 0.158 292.4)

  9. Step 800

    800

    #533C8F

    oklch(42.6% 0.132 292.7)

  10. Step 900

    900

    #443472

    oklch(37.5% 0.103 292.7)

  11. Step 950

    950

    #281F43

    oklch(27% 0.065 293)

Export this scale for Tailwind in the Tailwind colors tool

#8162D6 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)#2B78DA0.105
Deuteranopia (no green cones)#3274D30.101
Tritanopia (no blue cones)#6B7A930.137
Achromatopsia (no color)#7676760.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #8162D6

    #8162D6

    oklch(58.3% 0.171 292.6)

  • #7D8200

    #7D8200

    oklch(58.3% 0.129 112.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8162D6

    #8162D6

    oklch(58.3% 0.171 292.6)

  • #4175DF

    #4175DF

    oklch(58.3% 0.171 262.6)

  • #A951B5

    #A951B5

    oklch(58.2% 0.171 322.7)

Open the analogous palette in the generator

Split complementary

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

  • #8162D6

    #8162D6

    oklch(58.3% 0.171 292.6)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

  • #2C9329

    #2C9329

    oklch(58.3% 0.171 142.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8162D6

    #8162D6

    oklch(58.3% 0.171 292.6)

  • #BD5D00

    #BD5D00

    oklch(58.4% 0.148 52.9)

  • #009074

    #009074

    oklch(58.2% 0.112 172.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8162D6

    #8162D6

    oklch(58.3% 0.171 292.6)

  • #CD464A

    #CD464A

    oklch(58.4% 0.171 22.5)

  • #7D8200

    #7D8200

    oklch(58.3% 0.129 112.5)

  • #008C95

    #008C95

    oklch(58.3% 0.099 202.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8162D6.

Similar named colors

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

Use #8162D6 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.