#B274AB

Closest named color: Soft Purple (#A66FB5). oklch(64.2% 0.107 330.8), rgb(178, 116, 171).

Aa

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

About this color

#B274AB is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.107 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.032 away. Black text reads best on it, at 5.97:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.97:1
White text3.51:1

Values

HEX#B274AB
RGBrgb(178, 116, 171)
HSLhsl(307, 29%, 58%)
OKLCHoklch(64.2% 0.107 330.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 #B274AB 3.51:1 AA large text Lc -68.0 Content text, not long reading
Black text on #B274AB 5.97:1 AA Lc 41.5 Non-text elements, placeholder text
#B274AB text on white 3.51:1 AA large text Lc 62.5 Content text, not long reading
#B274AB text on black 5.97:1 AA Lc -39.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E5D3E2

    oklch(88.6% 0.028 331.2)

  4. Step 300

    300

    #D5B5D1

    oklch(80.9% 0.052 330.2)

  5. Step 400

    400

    #BF8EB9

    oklch(70.7% 0.083 330.6)

  6. Step 500

    500 (this color)

    #B274AB

    oklch(64.2% 0.107 330.8)

  7. Step 600

    600

    #995893

    oklch(55.6% 0.116 330.4)

  8. Step 700

    700

    #83487D

    oklch(49.2% 0.108 330.9)

  9. Step 800

    800

    #6A3B66

    oklch(42.6% 0.09 330.2)

  10. Step 900

    900

    #573353

    oklch(37.8% 0.071 330.9)

  11. Step 950

    950

    #331E30

    oklch(27% 0.044 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#B274AB 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)#7283AD0.102
Deuteranopia (no green cones)#818CA90.095
Tritanopia (no blue cones)#B778880.058
Achromatopsia (no color)#8989890.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #B274AB

    #B274AB

    oklch(64.2% 0.107 330.8)

  • #589F6A

    #589F6A

    oklch(64.2% 0.107 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B274AB

    #B274AB

    oklch(64.2% 0.107 330.8)

  • #987DC4

    #987DC4

    oklch(64.3% 0.107 300.9)

  • #C27089

    #C27089

    oklch(64.3% 0.107 1)

Open the analogous palette in the generator

Split complementary

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

  • #B274AB

    #B274AB

    oklch(64.2% 0.107 330.8)

  • #839748

    #839748

    oklch(64.3% 0.108 121.3)

  • #26A290

    #26A290

    oklch(64.3% 0.107 180.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B274AB

    #B274AB

    oklch(64.2% 0.107 330.8)

  • #A58A36

    #A58A36

    oklch(64.2% 0.107 91.1)

  • #199EB1

    #199EB1

    oklch(64.3% 0.107 210.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B274AB

    #B274AB

    oklch(64.2% 0.107 330.8)

  • #BC7D44

    #BC7D44

    oklch(64.3% 0.107 61.1)

  • #589F6A

    #589F6A

    oklch(64.2% 0.107 150.6)

  • #4995C8

    #4995C8

    oklch(64.3% 0.107 240.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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