#8342C2

Closest named color: Dark Orchid (#9932CC). oklch(52.4% 0.192 303.7), rgb(131, 66, 194).

Aa

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

About this color

#8342C2 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.192 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.048 away. White text reads best on it, at 5.96:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.192)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.52:1
White text5.96:1

Values

HEX#8342C2
RGBrgb(131, 66, 194)
HSLhsl(270, 51%, 51%)
OKLCHoklch(52.4% 0.192 303.7)

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 #8342C2 5.96:1 AA Lc -84.4 Fine for body text
Black text on #8342C2 3.52:1 AA large text Lc 24.9 Dividers and decoration only
#8342C2 text on white 5.96:1 AA Lc 79.2 Fine for body text
#8342C2 text on black 3.52:1 AA large text Lc -22.6 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 600.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CCB3EF

    oklch(80.8% 0.087 303.5)

  5. Step 400

    400

    #B389E7

    oklch(70.7% 0.14 303.6)

  6. Step 500

    500

    #A169DF

    oklch(63.2% 0.176 303.7)

  7. Step 600

    600 (this color)

    #8342C2

    oklch(52.4% 0.192 303.7)

  8. Step 700

    700

    #773CB1

    oklch(49% 0.179 303.6)

  9. Step 800

    800

    #61338F

    oklch(42.7% 0.147 303.8)

  10. Step 900

    900

    #4F2E72

    oklch(37.7% 0.115 303.8)

  11. Step 950

    950

    #2E1C43

    oklch(27% 0.072 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#8342C2 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)#0062C60.150
Deuteranopia (no green cones)#1563BF0.146
Tritanopia (no blue cones)#775E7C0.141
Achromatopsia (no color)#6464640.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #8342C2

    #8342C2

    oklch(52.4% 0.192 303.7)

  • #5B7600

    #5B7600

    oklch(52.5% 0.13 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8342C2

    #8342C2

    oklch(52.4% 0.192 303.7)

  • #4C57D6

    #4C57D6

    oklch(52.3% 0.193 273.9)

  • #A72F97

    #A72F97

    oklch(52.5% 0.192 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #8342C2

    #8342C2

    oklch(52.4% 0.192 303.7)

  • #7F6800

    #7F6800

    oklch(52.4% 0.107 93.6)

  • #007F44

    #007F44

    oklch(52.3% 0.133 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8342C2

    #8342C2

    oklch(52.4% 0.192 303.7)

  • #995800

    #995800

    oklch(52.4% 0.119 63.2)

  • #007B70

    #007B70

    oklch(52.4% 0.093 184)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8342C2

    #8342C2

    oklch(52.4% 0.192 303.7)

  • #BF2A00

    #BF2A00

    oklch(52.5% 0.19 33.8)

  • #5B7600

    #5B7600

    oklch(52.5% 0.13 124)

  • #00778A

    #00778A

    oklch(52.3% 0.092 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8342C2 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.