#B940C8

Closest named color: Purpley Pink (#C83CB9). oklch(59.5% 0.22 323.1), rgb(185, 64, 200).

Aa

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

About this color

#B940C8 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.220 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.038 away. Black text reads best on it, at 4.63:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.220)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.63:1
White text4.53:1

Values

HEX#B940C8
RGBrgb(185, 64, 200)
HSLhsl(293, 55%, 52%)
OKLCHoklch(59.5% 0.22 323.1)

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 #B940C8 4.53:1 AA Lc -76.0 Fine for body text
Black text on #B940C8 4.63:1 AA Lc 33.6 Non-text elements, placeholder text
#B940C8 text on white 4.53:1 AA Lc 70.5 Content text, not long reading
#B940C8 text on black 4.63:1 AA Lc -31.1 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EDCCF0

    oklch(88.4% 0.06 323.4)

  4. Step 300

    300

    #E3A9E9

    oklch(80.9% 0.108 323.3)

  5. Step 400

    400

    #D377DE

    oklch(70.7% 0.173 323.2)

  6. Step 500

    500 (this color)

    #B940C8

    oklch(59.5% 0.22 323.1)

  7. Step 600

    600

    #B024C1

    oklch(55.5% 0.239 323)

  8. Step 700

    700

    #9711A7

    oklch(49.1% 0.222 322.9)

  9. Step 800

    800

    #7B1587

    oklch(42.7% 0.185 323.1)

  10. Step 900

    900

    #631C6C

    oklch(37.6% 0.143 323)

  11. Step 950

    950

    #3A133F

    oklch(27% 0.089 323)

Export this scale for Tailwind in the Tailwind colors tool

#B940C8 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)#196DCC0.226
Deuteranopia (no green cones)#557BC50.192
Tritanopia (no blue cones)#BC577F0.131
Achromatopsia (no color)#7676760.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #B940C8

    #B940C8

    oklch(59.5% 0.22 323.1)

  • #009A11

    #009A11

    oklch(59.5% 0.198 143.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B940C8

    #B940C8

    oklch(59.5% 0.22 323.1)

  • #8958F2

    #8958F2

    oklch(59.5% 0.219 293.2)

  • #D82A8A

    #D82A8A

    oklch(59.5% 0.221 352.9)

Open the analogous palette in the generator

Split complementary

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

  • #B940C8

    #B940C8

    oklch(59.5% 0.22 323.1)

  • #808600

    #808600

    oklch(59.5% 0.133 112.9)

  • #009478

    #009478

    oklch(59.4% 0.114 173)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B940C8

    #B940C8

    oklch(59.5% 0.22 323.1)

  • #A27700

    #A27700

    oklch(59.6% 0.123 83.2)

  • #009099

    #009099

    oklch(59.5% 0.101 202.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B940C8

    #B940C8

    oklch(59.5% 0.22 323.1)

  • #C16000

    #C16000

    oklch(59.5% 0.15 53.4)

  • #009A11

    #009A11

    oklch(59.5% 0.198 143.1)

  • #008ABC

    #008ABC

    oklch(59.6% 0.123 233)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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