#843CB2

Closest named color: Purply (#983FB2). oklch(50.6% 0.184 309.4), rgb(132, 60, 178).

Aa

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

About this color

#843CB2 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.184 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.040 away. White text reads best on it, at 6.42:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.184)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.27:1
White text6.42:1

Values

HEX#843CB2
RGBrgb(132, 60, 178)
HSLhsl(277, 50%, 47%)
OKLCHoklch(50.6% 0.184 309.4)

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 #843CB2 6.42:1 AA Lc -86.4 Fine for body text
Black text on #843CB2 3.27:1 AA large text Lc 22.8 Dividers and decoration only
#843CB2 text on white 6.42:1 AA Lc 81.2 Fine for body text
#843CB2 text on black 3.27:1 AA large text Lc -20.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 700.

  1. Step 50

    50

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E3D1F2

    oklch(88.5% 0.049 309.7)

  4. Step 300

    300

    #D2B1EC

    oklch(80.9% 0.089 309.8)

  5. Step 400

    400

    #BB86E3

    oklch(70.7% 0.142 309.4)

  6. Step 500

    500

    #AA64DB

    oklch(63.1% 0.182 309.3)

  7. Step 600

    600

    #9547C8

    oklch(55.6% 0.197 309.2)

  8. Step 700

    700 (this color)

    #843CB2

    oklch(50.6% 0.184 309.4)

  9. Step 800

    800

    #672F8C

    oklch(42.7% 0.152 309.1)

  10. Step 900

    900

    #542B70

    oklch(37.7% 0.119 309.2)

  11. Step 950

    950

    #311A42

    oklch(27% 0.076 308.7)

Export this scale for Tailwind in the Tailwind colors tool

#843CB2 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)#005CB60.160
Deuteranopia (no green cones)#2960AF0.146
Tritanopia (no blue cones)#7D54720.126
Achromatopsia (no color)#5F5F5F0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #843CB2

    #843CB2

    oklch(50.6% 0.184 309.4)

  • #4C7300

    #4C7300

    oklch(50.7% 0.135 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #843CB2

    #843CB2

    oklch(50.6% 0.184 309.4)

  • #5550CA

    #5550CA

    oklch(50.7% 0.183 279.4)

  • #A32A86

    #A32A86

    oklch(50.6% 0.184 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #843CB2

    #843CB2

    oklch(50.6% 0.184 309.4)

  • #746500

    #746500

    oklch(50.6% 0.105 99.1)

  • #00784D

    #00784D

    oklch(50.5% 0.115 159.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #843CB2

    #843CB2

    oklch(50.6% 0.184 309.4)

  • #8D5800

    #8D5800

    oklch(50.8% 0.11 69.6)

  • #007570

    #007570

    oklch(50.7% 0.088 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #843CB2

    #843CB2

    oklch(50.6% 0.184 309.4)

  • #AD3800

    #AD3800

    oklch(50.7% 0.162 39.2)

  • #4C7300

    #4C7300

    oklch(50.7% 0.135 129.2)

  • #007189

    #007189

    oklch(50.7% 0.092 219.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #843CB2 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.