#BC40D4

Closest named color: Medium Orchid (#BA55D3). oklch(60.6% 0.232 320.7), rgb(188, 64, 212).

Aa

Black text reads best on this color (4.82:1).

About this color

#BC40D4 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.232 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.036 away. Black text reads best on it, at 4.82:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.232)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.82:1
White text4.35:1

Values

HEX#BC40D4
RGBrgb(188, 64, 212)
HSLhsl(290, 63%, 54%)
OKLCHoklch(60.6% 0.232 320.7)

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 #BC40D4 4.35:1 AA large text Lc -74.6 Content text, not long reading
Black text on #BC40D4 4.82:1 AA Lc 34.9 Non-text elements, placeholder text
#BC40D4 text on white 4.35:1 AA large text Lc 69.1 Content text, not long reading
#BC40D4 text on black 4.82:1 AA Lc -32.5 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF3

    oklch(88.5% 0.063 321.1)

  4. Step 300

    300

    #E2A8EE

    oklch(80.9% 0.115 320.5)

  5. Step 400

    400

    #D276E5

    oklch(70.8% 0.181 320.6)

  6. Step 500

    500 (this color)

    #BC40D4

    oklch(60.6% 0.232 320.7)

  7. Step 600

    600

    #B01BCA

    oklch(55.7% 0.252 320.7)

  8. Step 700

    700

    #9701AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7B0F8D

    oklch(42.8% 0.194 321)

  10. Step 900

    900

    #631A71

    oklch(37.8% 0.151 320.6)

  11. Step 950

    950

    #3A1142

    oklch(26.9% 0.096 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#BC40D4 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)#0070D80.234
Deuteranopia (no green cones)#4F7DD00.200
Tritanopia (no blue cones)#BD5B860.141
Achromatopsia (no color)#7979790.233

Harmonies

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

Complementary

The opposite hue (180°).

  • #BC40D4

    #BC40D4

    oklch(60.6% 0.232 320.7)

  • #279C00

    #279C00

    oklch(60.5% 0.198 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BC40D4

    #BC40D4

    oklch(60.6% 0.232 320.7)

  • #885AFF

    #885AFF

    oklch(60.7% 0.232 290.6)

  • #DE2693

    #DE2693

    oklch(60.6% 0.232 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #BC40D4

    #BC40D4

    oklch(60.6% 0.232 320.7)

  • #878800

    #878800

    oklch(60.6% 0.133 110.3)

  • #009878

    #009878

    oklch(60.5% 0.119 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BC40D4

    #BC40D4

    oklch(60.6% 0.232 320.7)

  • #A87800

    #A87800

    oklch(60.5% 0.125 80.6)

  • #00949B

    #00949B

    oklch(60.6% 0.103 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BC40D4

    #BC40D4

    oklch(60.6% 0.232 320.7)

  • #CA5F00

    #CA5F00

    oklch(60.6% 0.159 50.4)

  • #279C00

    #279C00

    oklch(60.5% 0.198 140.7)

  • #008EBD

    #008EBD

    oklch(60.6% 0.122 230.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #BC40D4 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.