#834FA2

Closest named color: Light Eggplant (#894585). oklch(52.2% 0.136 311.5), rgb(131, 79, 162).

Aa

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

About this color

#834FA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 52%, its chroma 0.136 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.048 away. White text reads best on it, at 5.82:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.60:1
White text5.82:1

Values

HEX#834FA2
RGBrgb(131, 79, 162)
HSLhsl(278, 34%, 47%)
OKLCHoklch(52.2% 0.136 311.5)

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 #834FA2 5.82:1 AA Lc -84.1 Fine for body text
Black text on #834FA2 3.60:1 AA large text Lc 25.2 Dividers and decoration only
#834FA2 text on white 5.82:1 AA Lc 78.9 Fine for body text
#834FA2 text on black 3.60:1 AA large text Lc -22.9 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F3

    oklch(93.5% 0.019 312.8)

  3. Step 200

    200

    #E1D3EB

    oklch(88.5% 0.036 311.4)

  4. Step 300

    300

    #CFB5E0

    oklch(80.9% 0.066 311.9)

  5. Step 400

    400

    #B68DD1

    oklch(70.6% 0.106 311.3)

  6. Step 500

    500

    #A470C4

    oklch(63.1% 0.134 311.6)

  7. Step 600

    600

    #8F56B1

    oklch(55.6% 0.147 311.4)

  8. Step 700

    700 (this color)

    #834FA2

    oklch(52.2% 0.136 311.5)

  9. Step 800

    800

    #633A7B

    oklch(42.7% 0.112 311.6)

  10. Step 900

    900

    #513263

    oklch(37.7% 0.088 312)

  11. Step 950

    950

    #2F1E3A

    oklch(27% 0.055 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#834FA2 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)#3A62A50.113
Deuteranopia (no green cones)#4A66A00.101
Tritanopia (no blue cones)#805D710.095
Achromatopsia (no color)#6565650.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #834FA2

    #834FA2

    oklch(52.2% 0.136 311.5)

  • #4C7911

    #4C7911

    oklch(52.4% 0.136 131.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #834FA2

    #834FA2

    oklch(52.2% 0.136 311.5)

  • #5E5DB5

    #5E5DB5

    oklch(52.3% 0.135 281.2)

  • #9C4580

    #9C4580

    oklch(52.3% 0.136 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #834FA2

    #834FA2

    oklch(52.2% 0.136 311.5)

  • #776B00

    #776B00

    oklch(52.3% 0.109 101.7)

  • #007D54

    #007D54

    oklch(52.1% 0.115 161.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #834FA2

    #834FA2

    oklch(52.2% 0.136 311.5)

  • #915D00

    #915D00

    oklch(52.3% 0.112 71.7)

  • #007A76

    #007A76

    oklch(52.3% 0.09 190.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #834FA2

    #834FA2

    oklch(52.2% 0.136 311.5)

  • #A84921

    #A84921

    oklch(52.3% 0.136 41.5)

  • #4C7911

    #4C7911

    oklch(52.4% 0.136 131.4)

  • #007591

    #007591

    oklch(52.1% 0.096 222.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #834FA2 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.