#B162CE

Closest named color: Medium Orchid (#BA55D3). oklch(62.9% 0.174 316.2), rgb(177, 98, 206).

Aa

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

About this color

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

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

Values

HEX#B162CE
RGBrgb(177, 98, 206)
HSLhsl(284, 52%, 60%)
OKLCHoklch(62.9% 0.174 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 #B162CE 3.81:1 AA large text Lc -70.8 Content text, not long reading
Black text on #B162CE 5.50:1 AA Lc 38.8 Non-text elements, placeholder text
#B162CE text on white 3.81:1 AA large text Lc 65.3 Content text, not long reading
#B162CE text on black 5.50:1 AA Lc -36.4 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7B0E6

    oklch(80.9% 0.086 316.5)

  5. Step 400

    400

    #C285D9

    oklch(70.8% 0.135 316.4)

  6. Step 500

    500 (this color)

    #B162CE

    oklch(62.9% 0.174 316.2)

  7. Step 600

    600

    #9D46BB

    oklch(55.6% 0.188 316.4)

  8. Step 700

    700

    #8636A2

    oklch(49.1% 0.176 316.1)

  9. Step 800

    800

    #6D2E83

    oklch(42.7% 0.146 316.3)

  10. Step 900

    900

    #582A69

    oklch(37.6% 0.114 316)

  11. Step 950

    950

    #341A3E

    oklch(27.1% 0.072 315.9)

Export this scale for Tailwind in the Tailwind colors tool

#B162CE 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)#4A7ED20.155
Deuteranopia (no green cones)#6385CB0.138
Tritanopia (no blue cones)#B0738F0.114
Achromatopsia (no color)#8383830.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #B162CE

    #B162CE

    oklch(62.9% 0.174 316.2)

  • #529F20

    #529F20

    oklch(62.9% 0.174 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B162CE

    #B162CE

    oklch(62.9% 0.174 316.2)

  • #8374EB

    #8374EB

    oklch(63% 0.173 286.1)

  • #CF559E

    #CF559E

    oklch(62.9% 0.173 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #B162CE

    #B162CE

    oklch(62.9% 0.174 316.2)

  • #948D00

    #948D00

    oklch(62.9% 0.134 106.1)

  • #00A177

    #00A177

    oklch(62.9% 0.13 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B162CE

    #B162CE

    oklch(62.9% 0.174 316.2)

  • #B67C00

    #B67C00

    oklch(63% 0.132 76.1)

  • #009C9E

    #009C9E

    oklch(62.8% 0.107 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B162CE

    #B162CE

    oklch(62.9% 0.174 316.2)

  • #DA5F08

    #DA5F08

    oklch(63% 0.174 46.4)

  • #529F20

    #529F20

    oklch(62.9% 0.174 136.3)

  • #0097C0

    #0097C0

    oklch(63% 0.12 225.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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