#B766CF

Closest named color: Medium Orchid (#BA55D3). oklch(64.3% 0.171 318.1), rgb(183, 102, 207).

Aa

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

About this color

#B766CF is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.171 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.036 away. Black text reads best on it, at 5.81:1.

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

Values

HEX#B766CF
RGBrgb(183, 102, 207)
HSLhsl(286, 52%, 61%)
OKLCHoklch(64.3% 0.171 318.1)

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 #B766CF 3.61:1 AA large text Lc -68.8 Content text, not long reading
Black text on #B766CF 5.81:1 AA Lc 40.7 Non-text elements, placeholder text
#B766CF text on white 3.61:1 AA large text Lc 63.3 Content text, not long reading
#B766CF text on black 5.81:1 AA Lc -38.3 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0ED

    oklch(88.4% 0.046 318)

  4. Step 300

    300

    #D8B0E4

    oklch(80.9% 0.084 318.3)

  5. Step 400

    400

    #C384D6

    oklch(70.6% 0.134 318.1)

  6. Step 500

    500 (this color)

    #B766CF

    oklch(64.3% 0.171 318.1)

  7. Step 600

    600

    #9F46B8

    oklch(55.7% 0.186 318.2)

  8. Step 700

    700

    #87369E

    oklch(49% 0.173 318)

  9. Step 800

    800

    #6E2E80

    oklch(42.7% 0.143 318.2)

  10. Step 900

    900

    #592A67

    oklch(37.6% 0.112 317.9)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#B766CF 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)#5281D30.154
Deuteranopia (no green cones)#6B89CC0.137
Tritanopia (no blue cones)#B775910.110
Achromatopsia (no color)#8787870.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #B766CF

    #B766CF

    oklch(64.3% 0.171 318.1)

  • #52A42F

    #52A42F

    oklch(64.3% 0.171 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B766CF

    #B766CF

    oklch(64.3% 0.171 318.1)

  • #8A77ED

    #8A77ED

    oklch(64.2% 0.171 288)

  • #D45A9F

    #D45A9F

    oklch(64.2% 0.171 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #B766CF

    #B766CF

    oklch(64.3% 0.171 318.1)

  • #969200

    #969200

    oklch(64.2% 0.138 107.8)

  • #00A57E

    #00A57E

    oklch(64.1% 0.129 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B766CF

    #B766CF

    oklch(64.3% 0.171 318.1)

  • #B98100

    #B98100

    oklch(64.3% 0.134 78.1)

  • #00A1A5

    #00A1A5

    oklch(64.3% 0.109 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B766CF

    #B766CF

    oklch(64.3% 0.171 318.1)

  • #DC650D

    #DC650D

    oklch(64.2% 0.171 48.2)

  • #52A42F

    #52A42F

    oklch(64.3% 0.171 138)

  • #009BC8

    #009BC8

    oklch(64.3% 0.125 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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