#7271BC

Closest named color: Deep Lilac (#966EBD). oklch(58.2% 0.114 282.9), rgb(114, 113, 188).

Aa

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

About this color

#7271BC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.114 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.056 away. Black text reads best on it, at 4.80:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text4.80:1
White text4.37:1

Values

HEX#7271BC
RGBrgb(114, 113, 188)
HSLhsl(241, 36%, 59%)
OKLCHoklch(58.2% 0.114 282.9)

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 #7271BC 4.37:1 AA large text Lc -75.7 Fine for body text
Black text on #7271BC 4.80:1 AA Lc 33.9 Non-text elements, placeholder text
#7271BC text on white 4.37:1 AA large text Lc 70.2 Content text, not long reading
#7271BC text on black 4.80:1 AA Lc -31.5 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 600.

  1. Step 50

    50

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7EC

    oklch(88.5% 0.029 283.6)

  4. Step 300

    300

    #BBBDE1

    oklch(80.9% 0.051 282.7)

  5. Step 400

    400

    #999AD3

    oklch(70.7% 0.083 283.3)

  6. Step 500

    500

    #8181C7

    oklch(63.2% 0.104 283)

  7. Step 600

    600 (this color)

    #7271BC

    oklch(58.2% 0.114 282.9)

  8. Step 700

    700

    #59579A

    oklch(49% 0.106 283.1)

  9. Step 800

    800

    #49487D

    oklch(42.8% 0.087 283)

  10. Step 900

    900

    #3D3C65

    oklch(37.7% 0.069 283.7)

  11. Step 950

    950

    #23243B

    oklch(27.1% 0.043 281.2)

Export this scale for Tailwind in the Tailwind colors tool

#7271BC 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)#577BBF0.041
Deuteranopia (no green cones)#5476BA0.040
Tritanopia (no blue cones)#5D808D0.099
Achromatopsia (no color)#7979790.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #7271BC

    #7271BC

    oklch(58.2% 0.114 282.9)

  • #887D1A

    #887D1A

    oklch(58.2% 0.113 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7271BC

    #7271BC

    oklch(58.2% 0.114 282.9)

  • #467EBC

    #467EBC

    oklch(58.3% 0.113 252.4)

  • #9266AB

    #9266AB

    oklch(58.3% 0.113 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #7271BC

    #7271BC

    oklch(58.2% 0.114 282.9)

  • #A36F1D

    #A36F1D

    oklch(58.2% 0.113 73.2)

  • #60893F

    #60893F

    oklch(58.2% 0.113 132.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7271BC

    #7271BC

    oklch(58.2% 0.114 282.9)

  • #B26241

    #B26241

    oklch(58.2% 0.114 42.6)

  • #259067

    #259067

    oklch(58.3% 0.114 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7271BC

    #7271BC

    oklch(58.2% 0.114 282.9)

  • #B45C68

    #B45C68

    oklch(58.3% 0.114 12.7)

  • #887D1A

    #887D1A

    oklch(58.2% 0.113 102.6)

  • #008D8B

    #008D8B

    oklch(58.2% 0.1 193)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7271BC 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.