#B270CB

Closest named color: Soft Purple (#A66FB5). oklch(65% 0.148 316.2), rgb(178, 112, 203).

Aa

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

About this color

#B270CB is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.148 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.039 away. Black text reads best on it, at 6.07:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.148)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text6.07:1
White text3.45:1

Values

HEX#B270CB
RGBrgb(178, 112, 203)
HSLhsl(284, 47%, 62%)
OKLCHoklch(65% 0.148 316.2)

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 #B270CB 3.45:1 AA large text Lc -67.3 Content text, not long reading
Black text on #B270CB 6.07:1 AA Lc 42.2 Non-text elements, placeholder text
#B270CB text on white 3.45:1 AA large text Lc 61.9 Content text, not long reading
#B270CB text on black 6.07:1 AA Lc -39.8 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EB

    oklch(88.6% 0.039 316.6)

  4. Step 300

    300

    #D3B3E0

    oklch(80.9% 0.071 316.1)

  5. Step 400

    400

    #BD8AD1

    oklch(70.8% 0.115 316.2)

  6. Step 500

    500 (this color)

    #B270CB

    oklch(65% 0.148 316.2)

  7. Step 600

    600

    #9750B1

    oklch(55.6% 0.16 316.2)

  8. Step 700

    700

    #814098

    oklch(49.1% 0.149 316.4)

  9. Step 800

    800

    #69357C

    oklch(42.7% 0.125 316.2)

  10. Step 900

    900

    #552F63

    oklch(37.6% 0.096 316.3)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#B270CB 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)#6086CE0.126
Deuteranopia (no green cones)#728CC80.114
Tritanopia (no blue cones)#B17D940.098
Achromatopsia (no color)#8A8A8A0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #B270CB

    #B270CB

    oklch(65% 0.148 316.2)

  • #63A341

    #63A341

    oklch(65.1% 0.147 136.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B270CB

    #B270CB

    oklch(65% 0.148 316.2)

  • #897FE4

    #897FE4

    oklch(65% 0.147 286.1)

  • #CD66A2

    #CD66A2

    oklch(65% 0.148 346)

Open the analogous palette in the generator

Split complementary

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

  • #B270CB

    #B270CB

    oklch(65% 0.148 316.2)

  • #9B9300

    #9B9300

    oklch(64.9% 0.138 105.8)

  • #00A87C

    #00A87C

    oklch(64.9% 0.134 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B270CB

    #B270CB

    oklch(65% 0.148 316.2)

  • #BE8200

    #BE8200

    oklch(65.1% 0.137 76.3)

  • #00A4A5

    #00A4A5

    oklch(65.1% 0.111 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B270CB

    #B270CB

    oklch(65% 0.148 316.2)

  • #D66E37

    #D66E37

    oklch(65% 0.147 46.2)

  • #63A341

    #63A341

    oklch(65.1% 0.147 136.2)

  • #009EC9

    #009EC9

    oklch(65.1% 0.124 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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