#8D38ED

Closest named color: Blue Violet (#8A2BE2). oklch(55.8% 0.25 299.2), rgb(141, 56, 237).

Aa

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

About this color

#8D38ED is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.250 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.026 away. White text reads best on it, at 5.35:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.250)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.92:1
White text5.35:1

Values

HEX#8D38ED
RGBrgb(141, 56, 237)
HSLhsl(268, 83%, 57%)
OKLCHoklch(55.8% 0.25 299.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 #8D38ED 5.35:1 AA Lc -80.9 Fine for body text
Black text on #8D38ED 3.92:1 AA large text Lc 28.5 Dividers and decoration only
#8D38ED text on white 5.35:1 AA Lc 75.6 Fine for body text
#8D38ED text on black 3.92:1 AA large text Lc -26.2 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FD

    oklch(93.7% 0.032 299.7)

  3. Step 200

    200

    #DED1FD

    oklch(88.5% 0.061 298.7)

  4. Step 300

    300

    #CBB0FF

    oklch(80.9% 0.113 299.6)

  5. Step 400

    400

    #B283FF

    oklch(70.8% 0.179 299.3)

  6. Step 500

    500

    #A05BFD

    oklch(63% 0.23 299.3)

  7. Step 600

    600 (this color)

    #8D38ED

    oklch(55.8% 0.25 299.2)

  8. Step 700

    700

    #7826CE

    oklch(49.1% 0.233 299.3)

  9. Step 800

    800

    #6124A6

    oklch(42.7% 0.192 299.2)

  10. Step 900

    900

    #4F2584

    oklch(37.7% 0.15 299.3)

  11. Step 950

    950

    #2E174D

    oklch(26.9% 0.095 299.5)

Export this scale for Tailwind in the Tailwind colors tool

#8D38ED 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)#006BF20.164
Deuteranopia (no green cones)#0069EA0.164
Tritanopia (no blue cones)#7669920.186
Achromatopsia (no color)#6B6B6B0.252

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D38ED

    #8D38ED

    oklch(55.8% 0.25 299.2)

  • #6C7E00

    #6C7E00

    oklch(55.9% 0.132 119.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D38ED

    #8D38ED

    oklch(55.8% 0.25 299.2)

  • #405BFF

    #405BFF

    oklch(55.9% 0.243 269.3)

  • #BB0DB8

    #BB0DB8

    oklch(55.7% 0.25 329.2)

Open the analogous palette in the generator

Split complementary

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

  • #8D38ED

    #8D38ED

    oklch(55.8% 0.25 299.2)

  • #8E6F00

    #8E6F00

    oklch(55.6% 0.114 89.2)

  • #008C3C

    #008C3C

    oklch(55.9% 0.157 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D38ED

    #8D38ED

    oklch(55.8% 0.25 299.2)

  • #AB5D00

    #AB5D00

    oklch(55.8% 0.132 59)

  • #008775

    #008775

    oklch(55.8% 0.102 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D38ED

    #8D38ED

    oklch(55.8% 0.25 299.2)

  • #DA0000

    #DA0000

    oklch(55.8% 0.229 29.2)

  • #6C7E00

    #6C7E00

    oklch(55.9% 0.132 119.2)

  • #008392

    #008392

    oklch(55.8% 0.096 208.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8D38ED.

Similar named colors

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

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