#B795FD

Closest named color: Liliac (#C48EFD). oklch(74.2% 0.149 297.7), rgb(183, 149, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.149)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.73:1
White text2.40:1

Values

HEX#B795FD
RGBrgb(183, 149, 253)
HSLhsl(260, 96%, 79%)
OKLCHoklch(74.2% 0.149 297.7)

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 #B795FD 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #B795FD 8.73:1 AAA Lc 56.7 Large or bold text, headings
#B795FD text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#B795FD text on black 8.73:1 AAA Lc -54.8 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

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F8

    oklch(88.5% 0.053 298.5)

  4. Step 300

    300

    #C7B4F6

    oklch(80.9% 0.094 297.5)

  5. Step 400

    400 (this color)

    #B795FD

    oklch(74.2% 0.149 297.7)

  6. Step 500

    500

    #9969EC

    oklch(63.2% 0.19 297.6)

  7. Step 600

    600

    #854BDA

    oklch(55.6% 0.208 297.9)

  8. Step 700

    700

    #713BBD

    oklch(49.1% 0.193 297.9)

  9. Step 800

    800

    #5C3299

    oklch(42.7% 0.16 298)

  10. Step 900

    900

    #4B2E7A

    oklch(37.8% 0.124 297.7)

  11. Step 950

    950

    #2C1C47

    oklch(27.1% 0.078 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#B795FD 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)#78A7FF0.089
Deuteranopia (no green cones)#7EA6FA0.084
Tritanopia (no blue cones)#A9A7BD0.118
Achromatopsia (no color)#A7A7A70.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #B795FD

    #B795FD

    oklch(74.2% 0.149 297.7)

  • #A4B739

    #A4B739

    oklch(74.1% 0.149 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B795FD

    #B795FD

    oklch(74.2% 0.149 297.7)

  • #87A7FF

    #87A7FF

    oklch(74.1% 0.133 267.9)

  • #DD87DB

    #DD87DB

    oklch(74.1% 0.15 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #B795FD

    #B795FD

    oklch(74.2% 0.149 297.7)

  • #D3A40E

    #D3A40E

    oklch(74.2% 0.149 87.5)

  • #61C573

    #61C573

    oklch(74.3% 0.15 147.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B795FD

    #B795FD

    oklch(74.2% 0.149 297.7)

  • #F0913E

    #F0913E

    oklch(74.2% 0.149 58.1)

  • #00C7AB

    #00C7AB

    oklch(74.2% 0.137 177.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B795FD

    #B795FD

    oklch(74.2% 0.149 297.7)

  • #FC8376

    #FC8376

    oklch(74.3% 0.15 27.6)

  • #A4B739

    #A4B739

    oklch(74.1% 0.149 117.6)

  • #00C1D5

    #00C1D5

    oklch(74.2% 0.127 207.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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