#B22EC3

Closest named color: Dark Orchid (#9932CC). oklch(56.6% 0.233 322.8), rgb(178, 46, 195).

Aa

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

About this color

#B22EC3 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.233 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.052 away. White text reads best on it, at 5.15:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.233)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.07:1
White text5.15:1

Values

HEX#B22EC3
RGBrgb(178, 46, 195)
HSLhsl(293, 62%, 47%)
OKLCHoklch(56.6% 0.233 322.8)

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 #B22EC3 5.15:1 AA Lc -79.6 Fine for body text
Black text on #B22EC3 4.07:1 AA large text Lc 29.9 Dividers and decoration only
#B22EC3 text on white 5.15:1 AA Lc 74.2 Content text, not long reading
#B22EC3 text on black 4.07:1 AA large text Lc -27.5 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #ECCDF0

    oklch(88.5% 0.058 322.4)

  4. Step 300

    300

    #E1AAE8

    oklch(80.9% 0.104 322.7)

  5. Step 400

    400

    #D179DC

    oklch(70.7% 0.167 323)

  6. Step 500

    500

    #C350D3

    oklch(63.1% 0.214 322.6)

  7. Step 600

    600 (this color)

    #B22EC3

    oklch(56.6% 0.233 322.8)

  8. Step 700

    700

    #9618A5

    oklch(49.1% 0.216 323)

  9. Step 800

    800

    #7A1A86

    oklch(42.8% 0.179 322.9)

  10. Step 900

    900

    #621E6B

    oklch(37.6% 0.139 322.8)

  11. Step 950

    950

    #3A133F

    oklch(27% 0.089 323)

Export this scale for Tailwind in the Tailwind colors tool

#B22EC3 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)#0064C70.236
Deuteranopia (no green cones)#4772C00.205
Tritanopia (no blue cones)#B54B780.137
Achromatopsia (no color)#6D6D6D0.235

Harmonies

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

Complementary

The opposite hue (180°).

  • #B22EC3

    #B22EC3

    oklch(56.6% 0.233 322.8)

  • #009008

    #009008

    oklch(56.6% 0.191 142.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B22EC3

    #B22EC3

    oklch(56.6% 0.233 322.8)

  • #814AEF

    #814AEF

    oklch(56.6% 0.232 292.7)

  • #D10482

    #D10482

    oklch(56.5% 0.232 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #B22EC3

    #B22EC3

    oklch(56.6% 0.233 322.8)

  • #787D00

    #787D00

    oklch(56.6% 0.126 112.6)

  • #008B70

    #008B70

    oklch(56.7% 0.109 172.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B22EC3

    #B22EC3

    oklch(56.6% 0.233 322.8)

  • #976E00

    #976E00

    oklch(56.5% 0.116 82.6)

  • #00868F

    #00868F

    oklch(56.5% 0.096 203.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B22EC3

    #B22EC3

    oklch(56.6% 0.233 322.8)

  • #B55900

    #B55900

    oklch(56.6% 0.144 53)

  • #009008

    #009008

    oklch(56.6% 0.191 142.8)

  • #0081AF

    #0081AF

    oklch(56.7% 0.116 232.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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