#B266CA

Closest named color: Medium Orchid (#BA55D3). oklch(63.4% 0.163 317.6), rgb(178, 102, 202).

Aa

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

About this color

#B266CA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.163 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.040 away. Black text reads best on it, at 5.64:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.163)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.64:1
White text3.71:1

Values

HEX#B266CA
RGBrgb(178, 102, 202)
HSLhsl(286, 49%, 60%)
OKLCHoklch(63.4% 0.163 317.6)

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 #B266CA 3.71:1 AA large text Lc -69.9 Content text, not long reading
Black text on #B266CA 5.64:1 AA Lc 39.7 Non-text elements, placeholder text
#B266CA text on white 3.71:1 AA large text Lc 64.4 Content text, not long reading
#B266CA text on black 5.64:1 AA Lc -37.2 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F4

    oklch(93.5% 0.023 317.1)

  3. Step 200

    200

    #E6D1ED

    oklch(88.6% 0.044 317.7)

  4. Step 300

    300

    #D6B1E3

    oklch(80.9% 0.08 317.2)

  5. Step 400

    400

    #C186D4

    oklch(70.6% 0.127 317.7)

  6. Step 500

    500 (this color)

    #B266CA

    oklch(63.4% 0.163 317.6)

  7. Step 600

    600

    #9C49B6

    oklch(55.6% 0.178 317.4)

  8. Step 700

    700

    #853A9C

    oklch(49.1% 0.164 317.5)

  9. Step 800

    800

    #6C317F

    oklch(42.7% 0.136 317.2)

  10. Step 900

    900

    #582C66

    oklch(37.7% 0.107 317.4)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#B266CA 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)#5380CD0.146
Deuteranopia (no green cones)#6A87C70.130
Tritanopia (no blue cones)#B2748F0.105
Achromatopsia (no color)#8484840.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #B266CA

    #B266CA

    oklch(63.4% 0.163 317.6)

  • #54A032

    #54A032

    oklch(63.4% 0.163 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B266CA

    #B266CA

    oklch(63.4% 0.163 317.6)

  • #8776E6

    #8776E6

    oklch(63.3% 0.163 287.8)

  • #CE5B9C

    #CE5B9C

    oklch(63.4% 0.162 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #B266CA

    #B266CA

    oklch(63.4% 0.163 317.6)

  • #948F00

    #948F00

    oklch(63.4% 0.136 107.2)

  • #00A37B

    #00A37B

    oklch(63.5% 0.129 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B266CA

    #B266CA

    oklch(63.4% 0.163 317.6)

  • #B67E00

    #B67E00

    oklch(63.4% 0.132 77.5)

  • #009EA1

    #009EA1

    oklch(63.4% 0.108 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B266CA

    #B266CA

    oklch(63.4% 0.163 317.6)

  • #D7651A

    #D7651A

    oklch(63.5% 0.164 47.8)

  • #54A032

    #54A032

    oklch(63.4% 0.163 137.6)

  • #0098C4

    #0098C4

    oklch(63.4% 0.123 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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