#8C279A

Closest named color: Warm Purple (#952E8F). oklch(47.9% 0.19 322.5), rgb(140, 39, 154).

Aa

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

About this color

#8C279A is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.190 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.031 away. White text reads best on it, at 7.31:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.190)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.87:1
White text7.31:1

Values

HEX#8C279A
RGBrgb(140, 39, 154)
HSLhsl(293, 60%, 38%)
OKLCHoklch(47.9% 0.19 322.5)

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 #8C279A 7.31:1 AAA Lc -89.3 Fine for body text
Black text on #8C279A 2.87:1 Fails Lc 19.7 Dividers and decoration only
#8C279A text on white 7.31:1 AAA Lc 84.3 Fine for body text
#8C279A text on black 2.87:1 Fails Lc -17.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EACEED

    oklch(88.4% 0.052 323)

  4. Step 300

    300

    #DDADE4

    oklch(80.9% 0.092 322.1)

  5. Step 400

    400

    #CB7FD6

    oklch(70.7% 0.147 322.3)

  6. Step 500

    500

    #BD5ACB

    oklch(63.1% 0.189 322.5)

  7. Step 600

    600

    #A83BB7

    oklch(55.6% 0.204 322.6)

  8. Step 700

    700 (this color)

    #8C279A

    oklch(47.9% 0.19 322.5)

  9. Step 800

    800

    #752680

    oklch(42.7% 0.158 322.6)

  10. Step 900

    900

    #5F2567

    oklch(37.7% 0.123 322.7)

  11. Step 950

    950

    #38173C

    oklch(27.1% 0.077 323.2)

Export this scale for Tailwind in the Tailwind colors tool

#8C279A 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)#004F9D0.194
Deuteranopia (no green cones)#385A970.168
Tritanopia (no blue cones)#8E3D5F0.113
Achromatopsia (no color)#5656560.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C279A

    #8C279A

    oklch(47.9% 0.19 322.5)

  • #007200

    #007200

    oklch(47.8% 0.163 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C279A

    #8C279A

    oklch(47.9% 0.19 322.5)

  • #653CBC

    #653CBC

    oklch(47.9% 0.189 292.5)

  • #A50F67

    #A50F67

    oklch(47.9% 0.19 352.6)

Open the analogous palette in the generator

Split complementary

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

  • #8C279A

    #8C279A

    oklch(47.9% 0.19 322.5)

  • #5F6300

    #5F6300

    oklch(48% 0.107 112.5)

  • #006E58

    #006E58

    oklch(48% 0.092 172.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C279A

    #8C279A

    oklch(47.9% 0.19 322.5)

  • #785700

    #785700

    oklch(47.9% 0.098 82.9)

  • #006A71

    #006A71

    oklch(47.8% 0.081 202.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C279A

    #8C279A

    oklch(47.9% 0.19 322.5)

  • #914500

    #914500

    oklch(47.9% 0.123 52.3)

  • #007200

    #007200

    oklch(47.8% 0.163 142.5)

  • #00668B

    #00668B

    oklch(47.9% 0.098 232.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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