#8041CA

Closest named color: Blue Violet (#8A2BE2). oklch(52.5% 0.202 300.6), rgb(128, 65, 202).

Aa

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

About this color

#8041CA is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.202 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.049 away. White text reads best on it, at 5.95:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.202)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.52:1
White text5.95:1

Values

HEX#8041CA
RGBrgb(128, 65, 202)
HSLhsl(268, 56%, 52%)
OKLCHoklch(52.5% 0.202 300.6)

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 #8041CA 5.95:1 AA Lc -84.3 Fine for body text
Black text on #8041CA 3.52:1 AA large text Lc 25.0 Dividers and decoration only
#8041CA text on white 5.95:1 AA Lc 79.1 Fine for body text
#8041CA text on black 3.52:1 AA large text Lc -22.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 600.

  1. Step 50

    50

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F6

    oklch(88.5% 0.051 300.6)

  4. Step 300

    300

    #CAB3F3

    oklch(80.8% 0.092 300.8)

  5. Step 400

    400

    #B089ED

    oklch(70.7% 0.147 300.7)

  6. Step 500

    500

    #9D68E6

    oklch(63% 0.185 300.6)

  7. Step 600

    600 (this color)

    #8041CA

    oklch(52.5% 0.202 300.6)

  8. Step 700

    700

    #743BB8

    oklch(49.1% 0.188 300.5)

  9. Step 800

    800

    #5F3295

    oklch(42.8% 0.156 300.9)

  10. Step 900

    900

    #4D2D77

    oklch(37.6% 0.122 300.6)

  11. Step 950

    950

    #2D1B46

    oklch(27% 0.078 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#8041CA 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)#0063CE0.145
Deuteranopia (no green cones)#0063C70.146
Tritanopia (no blue cones)#7061800.151
Achromatopsia (no color)#6464640.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #8041CA

    #8041CA

    oklch(52.5% 0.202 300.6)

  • #617400

    #617400

    oklch(52.5% 0.125 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8041CA

    #8041CA

    oklch(52.5% 0.202 300.6)

  • #4358DC

    #4358DC

    oklch(52.5% 0.202 270.8)

  • #A62B9F

    #A62B9F

    oklch(52.5% 0.202 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #8041CA

    #8041CA

    oklch(52.5% 0.202 300.6)

  • #826700

    #826700

    oklch(52.6% 0.107 90.6)

  • #00803B

    #00803B

    oklch(52.5% 0.142 150.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8041CA

    #8041CA

    oklch(52.5% 0.202 300.6)

  • #9C5600

    #9C5600

    oklch(52.5% 0.123 60.3)

  • #007C6D

    #007C6D

    oklch(52.5% 0.095 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8041CA

    #8041CA

    oklch(52.5% 0.202 300.6)

  • #C41C07

    #C41C07

    oklch(52.5% 0.202 30.7)

  • #617400

    #617400

    oklch(52.5% 0.125 120.4)

  • #007888

    #007888

    oklch(52.5% 0.091 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8041CA 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.