#B23EC4

Closest named color: Purpley Pink (#C83CB9). oklch(58.1% 0.216 322), rgb(178, 62, 196).

Aa

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

About this color

#B23EC4 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.216 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.047 away. White text reads best on it, at 4.79:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.216)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.37:1
White text4.79:1

Values

HEX#B23EC4
RGBrgb(178, 62, 196)
HSLhsl(292, 53%, 51%)
OKLCHoklch(58.1% 0.216 322)

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 #B23EC4 4.79:1 AA Lc -77.8 Fine for body text
Black text on #B23EC4 4.37:1 AA large text Lc 31.8 Non-text elements, placeholder text
#B23EC4 text on white 4.79:1 AA Lc 72.3 Content text, not long reading
#B23EC4 text on black 4.37:1 AA large text Lc -29.4 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEEF

    oklch(88.6% 0.054 322.2)

  4. Step 300

    300

    #DFACE6

    oklch(81% 0.097 322.4)

  5. Step 400

    400

    #CD7DD9

    oklch(70.7% 0.155 322.2)

  6. Step 500

    500

    #BF56CF

    oklch(63.1% 0.2 322.2)

  7. Step 600

    600 (this color)

    #B23EC4

    oklch(58.1% 0.216 322)

  8. Step 700

    700

    #9225A2

    oklch(49.1% 0.202 322.2)

  9. Step 800

    800

    #762283

    oklch(42.6% 0.166 322)

  10. Step 900

    900

    #602369

    oklch(37.8% 0.129 322.3)

  11. Step 950

    950

    #38163E

    oklch(27% 0.082 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#B23EC4 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)#116AC80.221
Deuteranopia (no green cones)#4F77C10.188
Tritanopia (no blue cones)#B4557C0.130
Achromatopsia (no color)#7272720.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #B23EC4

    #B23EC4

    oklch(58.1% 0.216 322)

  • #0F9500

    #0F9500

    oklch(58.2% 0.196 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B23EC4

    #B23EC4

    oklch(58.1% 0.216 322)

  • #8255EC

    #8255EC

    oklch(58% 0.216 292)

  • #D12888

    #D12888

    oklch(58.1% 0.217 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #B23EC4

    #B23EC4

    oklch(58.1% 0.216 322)

  • #7D8100

    #7D8100

    oklch(58% 0.128 111.9)

  • #009073

    #009073

    oklch(58.2% 0.113 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B23EC4

    #B23EC4

    oklch(58.1% 0.216 322)

  • #9D7200

    #9D7200

    oklch(58% 0.119 82.2)

  • #008B93

    #008B93

    oklch(58% 0.099 202)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B23EC4

    #B23EC4

    oklch(58.1% 0.216 322)

  • #BD5B00

    #BD5B00

    oklch(58.1% 0.15 51.8)

  • #0F9500

    #0F9500

    oklch(58.2% 0.196 142)

  • #0085B4

    #0085B4

    oklch(57.9% 0.119 232.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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