#7945BD

Closest named color: Bluey Purple (#6241C7). oklch(51.3% 0.181 300), rgb(121, 69, 189).

Aa

White text reads best on this color (6.17:1).

About this color

#7945BD is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.181 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.047 away. White text reads best on it, at 6.17:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.181)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.39:1
White text6.17:1

Values

HEX#7945BD
RGBrgb(121, 69, 189)
HSLhsl(266, 48%, 51%)
OKLCHoklch(51.3% 0.181 300)

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 #7945BD 6.17:1 AA Lc -85.5 Fine for body text
Black text on #7945BD 3.39:1 AA large text Lc 23.7 Dividers and decoration only
#7945BD text on white 6.17:1 AA Lc 80.3 Fine for body text
#7945BD text on black 3.39:1 AA large text Lc -21.5 Dividers and decoration only

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

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300

    #C9B4F1

    oklch(80.9% 0.087 300.2)

  5. Step 400

    400

    #AE8BEA

    oklch(70.7% 0.139 299.8)

  6. Step 500

    500

    #9B6AE4

    oklch(63% 0.18 299.8)

  7. Step 600

    600

    #874ED2

    oklch(55.6% 0.195 299.9)

  8. Step 700

    700 (this color)

    #7945BD

    oklch(51.3% 0.181 300)

  9. Step 800

    800

    #5D3493

    oklch(42.7% 0.15 299.9)

  10. Step 900

    900

    #4C2F75

    oklch(37.7% 0.116 300)

  11. Step 950

    950

    #2C1C45

    oklch(26.9% 0.075 299.4)

Export this scale for Tailwind in the Tailwind colors tool

#7945BD 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)#0061C10.133
Deuteranopia (no green cones)#1160BA0.130
Tritanopia (no blue cones)#6A5F7B0.135
Achromatopsia (no color)#6161610.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #7945BD

    #7945BD

    oklch(51.3% 0.181 300)

  • #5F7000

    #5F7000

    oklch(51.3% 0.121 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7945BD

    #7945BD

    oklch(51.3% 0.181 300)

  • #4159CD

    #4159CD

    oklch(51.4% 0.181 270)

  • #9C3397

    #9C3397

    oklch(51.2% 0.181 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #7945BD

    #7945BD

    oklch(51.3% 0.181 300)

  • #7E6300

    #7E6300

    oklch(51.2% 0.105 90)

  • #007C37

    #007C37

    oklch(51.2% 0.141 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7945BD

    #7945BD

    oklch(51.3% 0.181 300)

  • #985300

    #985300

    oklch(51.4% 0.121 59.8)

  • #007869

    #007869

    oklch(51.3% 0.093 180.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7945BD

    #7945BD

    oklch(51.3% 0.181 300)

  • #B82A1C

    #B82A1C

    oklch(51.4% 0.18 30)

  • #5F7000

    #5F7000

    oklch(51.3% 0.121 119.6)

  • #007483

    #007483

    oklch(51.2% 0.089 210.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7945BD 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.