#8A38BD

Closest named color: Dark Orchid (#9932CC). oklch(51.7% 0.202 309.2), rgb(138, 56, 189).

Aa

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

About this color

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

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

Values

HEX#8A38BD
RGBrgb(138, 56, 189)
HSLhsl(277, 54%, 48%)
OKLCHoklch(51.7% 0.202 309.2)

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 #8A38BD 6.21:1 AA Lc -85.3 Fine for body text
Black text on #8A38BD 3.38:1 AA large text Lc 23.9 Dividers and decoration only
#8A38BD text on white 6.21:1 AA Lc 80.1 Fine for body text
#8A38BD text on black 3.38:1 AA large text Lc -21.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

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E4D0F5

    oklch(88.5% 0.054 309.5)

  4. Step 300

    300

    #D3AFF1

    oklch(80.8% 0.099 309.1)

  5. Step 400

    400

    #BD83E9

    oklch(70.7% 0.155 309.1)

  6. Step 500

    500

    #AD5EE3

    oklch(63.1% 0.201 309.2)

  7. Step 600

    600

    #983FD0

    oklch(55.6% 0.216 309.1)

  8. Step 700

    700 (this color)

    #8A38BD

    oklch(51.7% 0.202 309.2)

  9. Step 800

    800

    #6A2992

    oklch(42.7% 0.167 309.3)

  10. Step 900

    900

    #562774

    oklch(37.6% 0.13 309.6)

  11. Step 950

    950

    #321844

    oklch(26.9% 0.083 309.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A38BD 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)#005DC10.169
Deuteranopia (no green cones)#1C62BA0.164
Tritanopia (no blue cones)#8256770.140
Achromatopsia (no color)#6161610.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A38BD

    #8A38BD

    oklch(51.7% 0.202 309.2)

  • #4E7600

    #4E7600

    oklch(51.6% 0.137 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A38BD

    #8A38BD

    oklch(51.7% 0.202 309.2)

  • #574FD7

    #574FD7

    oklch(51.8% 0.201 279.3)

  • #AC228D

    #AC228D

    oklch(51.8% 0.202 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A38BD

    #8A38BD

    oklch(51.7% 0.202 309.2)

  • #786800

    #786800

    oklch(51.7% 0.107 98.6)

  • #007C4F

    #007C4F

    oklch(51.7% 0.118 159.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A38BD

    #8A38BD

    oklch(51.7% 0.202 309.2)

  • #915A00

    #915A00

    oklch(51.7% 0.113 69.1)

  • #007873

    #007873

    oklch(51.7% 0.089 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A38BD

    #8A38BD

    oklch(51.7% 0.202 309.2)

  • #B23A00

    #B23A00

    oklch(51.8% 0.165 39.3)

  • #4E7600

    #4E7600

    oklch(51.6% 0.137 129.2)

  • #00748D

    #00748D

    oklch(51.7% 0.094 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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