#B338BD

Closest named color: Purpley Pink (#C83CB9). oklch(57.2% 0.218 324.7), rgb(179, 56, 189).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.218)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.21:1
White text4.97:1

Values

HEX#B338BD
RGBrgb(179, 56, 189)
HSLhsl(295, 54%, 48%)
OKLCHoklch(57.2% 0.218 324.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 #B338BD 4.97:1 AA Lc -78.8 Fine for body text
Black text on #B338BD 4.21:1 AA large text Lc 30.7 Non-text elements, placeholder text
#B338BD text on white 4.97:1 AA Lc 73.4 Content text, not long reading
#B338BD text on black 4.21:1 AA large text Lc -28.3 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDED

    oklch(88.4% 0.055 325.1)

  4. Step 300

    300

    #E1ABE4

    oklch(80.9% 0.098 324.7)

  5. Step 400

    400

    #D07BD6

    oklch(70.6% 0.157 324.7)

  6. Step 500

    500

    #C254CB

    oklch(63% 0.2 324.6)

  7. Step 600

    600 (this color)

    #B338BD

    oklch(57.2% 0.218 324.7)

  8. Step 700

    700

    #95229E

    oklch(49.1% 0.202 324.8)

  9. Step 800

    800

    #792080

    oklch(42.7% 0.167 324.8)

  10. Step 900

    900

    #622167

    oklch(37.7% 0.131 324.8)

  11. Step 950

    950

    #39153C

    oklch(26.9% 0.082 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#B338BD 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)#1266C10.228
Deuteranopia (no green cones)#5275BA0.192
Tritanopia (no blue cones)#B74E770.126
Achromatopsia (no color)#7070700.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #B338BD

    #B338BD

    oklch(57.2% 0.218 324.7)

  • #009223

    #009223

    oklch(57.3% 0.182 144.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B338BD

    #B338BD

    oklch(57.2% 0.218 324.7)

  • #8550E8

    #8550E8

    oklch(57.3% 0.217 294.6)

  • #D0217F

    #D0217F

    oklch(57.2% 0.217 354.7)

Open the analogous palette in the generator

Split complementary

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

  • #B338BD

    #B338BD

    oklch(57.2% 0.218 324.7)

  • #778000

    #778000

    oklch(57.3% 0.129 114.6)

  • #008C74

    #008C74

    oklch(57.1% 0.108 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B338BD

    #B338BD

    oklch(57.2% 0.218 324.7)

  • #987100

    #987100

    oklch(57.2% 0.117 84.5)

  • #008893

    #008893

    oklch(57.2% 0.098 204.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B338BD

    #B338BD

    oklch(57.2% 0.218 324.7)

  • #B65C00

    #B65C00

    oklch(57.2% 0.143 54.5)

  • #009223

    #009223

    oklch(57.3% 0.182 144.7)

  • #0082B4

    #0082B4

    oklch(57.2% 0.12 234.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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