#8C38BD

Closest named color: Dark Orchid (#9932CC). oklch(52% 0.202 310.1), rgb(140, 56, 189).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.202)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.41:1
White text6.14:1

Values

HEX#8C38BD
RGBrgb(140, 56, 189)
HSLhsl(278, 54%, 48%)
OKLCHoklch(52% 0.202 310.1)

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 #8C38BD 6.14:1 AA Lc -85.1 Fine for body text
Black text on #8C38BD 3.41:1 AA large text Lc 24.2 Dividers and decoration only
#8C38BD text on white 6.14:1 AA Lc 79.9 Fine for body text
#8C38BD text on black 3.41:1 AA large text Lc -22.0 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

    #E4D0F5

    oklch(88.5% 0.054 309.5)

  4. Step 300

    300

    #D4AFF0

    oklch(80.9% 0.098 310.1)

  5. Step 400

    400

    #BE82E9

    oklch(70.7% 0.157 309.8)

  6. Step 500

    500

    #AE5EE2

    oklch(63.2% 0.2 309.8)

  7. Step 600

    600

    #9A3ECF

    oklch(55.6% 0.217 310.2)

  8. Step 700

    700 (this color)

    #8C38BD

    oklch(52% 0.202 310.1)

  9. Step 800

    800

    #6B2891

    oklch(42.7% 0.168 310.4)

  10. Step 900

    900

    #572774

    oklch(37.8% 0.131 310.3)

  11. Step 950

    950

    #331844

    oklch(27.1% 0.083 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#8C38BD 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)#005EC10.173
Deuteranopia (no green cones)#2063BA0.165
Tritanopia (no blue cones)#8555770.138
Achromatopsia (no color)#6161610.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C38BD

    #8C38BD

    oklch(52% 0.202 310.1)

  • #4D7800

    #4D7800

    oklch(52.1% 0.14 130.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C38BD

    #8C38BD

    oklch(52% 0.202 310.1)

  • #594FD8

    #594FD8

    oklch(52% 0.202 280)

  • #AD218C

    #AD218C

    oklch(51.8% 0.202 340)

Open the analogous palette in the generator

Split complementary

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

  • #8C38BD

    #8C38BD

    oklch(52% 0.202 310.1)

  • #786900

    #786900

    oklch(51.9% 0.108 99.4)

  • #007D51

    #007D51

    oklch(52% 0.118 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C38BD

    #8C38BD

    oklch(52% 0.202 310.1)

  • #915B00

    #915B00

    oklch(51.9% 0.112 70)

  • #007974

    #007974

    oklch(52% 0.09 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C38BD

    #8C38BD

    oklch(52% 0.202 310.1)

  • #B23C00

    #B23C00

    oklch(52% 0.163 40)

  • #4D7800

    #4D7800

    oklch(52.1% 0.14 130.1)

  • #00758E

    #00758E

    oklch(52% 0.094 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8C38BD 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.