#8838B4

Closest named color: Purply (#983FB2). oklch(50.8% 0.192 311), rgb(136, 56, 180).

Aa

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

About this color

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

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

Values

HEX#8838B4
RGBrgb(136, 56, 180)
HSLhsl(279, 53%, 46%)
OKLCHoklch(50.8% 0.192 311)

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 #8838B4 6.41:1 AA Lc -86.3 Fine for body text
Black text on #8838B4 3.27:1 AA large text Lc 22.9 Dividers and decoration only
#8838B4 text on white 6.41:1 AA Lc 81.1 Fine for body text
#8838B4 text on black 3.27:1 AA large text Lc -20.7 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

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E4D0F3

    oklch(88.5% 0.052 310.8)

  4. Step 300

    300

    #D4B0ED

    oklch(80.9% 0.092 311.1)

  5. Step 400

    400

    #BE84E4

    oklch(70.7% 0.148 310.9)

  6. Step 500

    500

    #AE60DC

    oklch(63.1% 0.19 311.2)

  7. Step 600

    600

    #9942CA

    oklch(55.6% 0.207 310.8)

  8. Step 700

    700 (this color)

    #8838B4

    oklch(50.8% 0.192 311)

  9. Step 800

    800

    #6A2B8D

    oklch(42.6% 0.159 310.9)

  10. Step 900

    900

    #562971

    oklch(37.7% 0.124 310.6)

  11. Step 950

    950

    #331942

    oklch(27.1% 0.078 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#8838B4 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)#005BB80.169
Deuteranopia (no green cones)#2760B10.157
Tritanopia (no blue cones)#8252720.130
Achromatopsia (no color)#5F5F5F0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #8838B4

    #8838B4

    oklch(50.8% 0.192 311)

  • #487400

    #487400

    oklch(50.7% 0.138 130.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8838B4

    #8838B4

    oklch(50.8% 0.192 311)

  • #584DCE

    #584DCE

    oklch(50.8% 0.192 280.9)

  • #A72485

    #A72485

    oklch(50.7% 0.192 341)

Open the analogous palette in the generator

Split complementary

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

  • #8838B4

    #8838B4

    oklch(50.8% 0.192 311)

  • #736700

    #736700

    oklch(50.9% 0.106 101.4)

  • #007950

    #007950

    oklch(50.9% 0.113 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8838B4

    #8838B4

    oklch(50.8% 0.192 311)

  • #8C5900

    #8C5900

    oklch(50.8% 0.109 71.1)

  • #007571

    #007571

    oklch(50.8% 0.088 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8838B4

    #8838B4

    oklch(50.8% 0.192 311)

  • #AB3C00

    #AB3C00

    oklch(50.8% 0.156 41)

  • #487400

    #487400

    oklch(50.7% 0.138 130.9)

  • #00718B

    #00718B

    oklch(50.8% 0.093 221.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8838B4 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.