#B197FC

Closest named color: Liliac (#C48EFD). oklch(74% 0.144 294.4), rgb(177, 151, 252).

Aa

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

About this color

#B197FC is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.144 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.034 away. Black text reads best on it, at 8.70:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.144)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.70:1
White text2.41:1

Values

HEX#B197FC
RGBrgb(177, 151, 252)
HSLhsl(255, 94%, 79%)
OKLCHoklch(74% 0.144 294.4)

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 #B197FC 2.41:1 Fails Lc -52.4 Large or bold text, headings
Black text on #B197FC 8.70:1 AAA Lc 56.6 Large or bold text, headings
#B197FC text on white 2.41:1 Fails Lc 47.4 Large or bold text, headings
#B197FC text on black 8.70:1 AAA Lc -54.6 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FA

    oklch(93.6% 0.026 293.1)

  3. Step 200

    200

    #DBD3F8

    oklch(88.5% 0.051 295.2)

  4. Step 300

    300

    #C4B6F6

    oklch(81% 0.09 294.3)

  5. Step 400

    400 (this color)

    #B197FC

    oklch(74% 0.144 294.4)

  6. Step 500

    500

    #936CEC

    oklch(63.1% 0.186 294.5)

  7. Step 600

    600

    #7E50DA

    oklch(55.5% 0.201 294.2)

  8. Step 700

    700

    #6B40BD

    oklch(49.1% 0.186 294.3)

  9. Step 800

    800

    #573699

    oklch(42.8% 0.154 294.3)

  10. Step 900

    900

    #47307A

    oklch(37.7% 0.121 294.2)

  11. Step 950

    950

    #291D47

    oklch(26.9% 0.076 293.9)

Export this scale for Tailwind in the Tailwind colors tool

#B197FC 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)#7AA8FF0.078
Deuteranopia (no green cones)#7DA5F90.074
Tritanopia (no blue cones)#A1A9BD0.118
Achromatopsia (no color)#A7A7A70.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #B197FC

    #B197FC

    oklch(74% 0.144 294.4)

  • #A9B539

    #A9B539

    oklch(74.1% 0.145 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B197FC

    #B197FC

    oklch(74% 0.144 294.4)

  • #80A8FF

    #80A8FF

    oklch(73.9% 0.134 264.6)

  • #D789DD

    #D789DD

    oklch(73.9% 0.144 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #B197FC

    #B197FC

    oklch(74% 0.144 294.4)

  • #D5A220

    #D5A220

    oklch(74% 0.144 84.4)

  • #6CC26E

    #6CC26E

    oklch(73.9% 0.145 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B197FC

    #B197FC

    oklch(74% 0.144 294.4)

  • #F08F49

    #F08F49

    oklch(74% 0.145 54)

  • #00C7A5

    #00C7A5

    oklch(74% 0.14 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B197FC

    #B197FC

    oklch(74% 0.144 294.4)

  • #F9837D

    #F9837D

    oklch(74% 0.145 24.2)

  • #A9B539

    #A9B539

    oklch(74.1% 0.145 114.8)

  • #00C1D0

    #00C1D0

    oklch(74% 0.126 204.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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