#7254BF

Closest named color: Slate Blue (#6A5ACD). oklch(53.1% 0.161 293), rgb(114, 84, 191).

Aa

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

About this color

#7254BF is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.161 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Slate Blue (#6A5ACD), ΔE 0.027 away. White text reads best on it, at 5.62:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.161)
Temperaturein between
Nearest nameSlate Blue (#6A5ACD)
Black text3.73:1
White text5.62:1

Values

HEX#7254BF
RGBrgb(114, 84, 191)
HSLhsl(257, 46%, 54%)
OKLCHoklch(53.1% 0.161 293)

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 #7254BF 5.62:1 AA Lc -83.1 Fine for body text
Black text on #7254BF 3.73:1 AA large text Lc 26.3 Dividers and decoration only
#7254BF text on white 5.62:1 AA Lc 77.8 Fine for body text
#7254BF text on black 3.73:1 AA large text Lc -24.0 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 600.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #D9D5F2

    oklch(88.5% 0.04 291.9)

  4. Step 300

    300

    #C2B8EC

    oklch(80.8% 0.073 293.5)

  5. Step 400

    400

    #A392E2

    oklch(70.6% 0.116 292.9)

  6. Step 500

    500

    #8E75DA

    oklch(63% 0.149 293)

  7. Step 600

    600 (this color)

    #7254BF

    oklch(53.1% 0.161 293)

  8. Step 700

    700

    #664BAC

    oklch(49.1% 0.149 292.9)

  9. Step 800

    800

    #533E8C

    oklch(42.7% 0.124 292.8)

  10. Step 900

    900

    #443570

    oklch(37.6% 0.098 292.8)

  11. Step 950

    950

    #282041

    oklch(27% 0.06 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#7254BF 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)#1D69C30.102
Deuteranopia (no green cones)#2665BD0.097
Tritanopia (no blue cones)#5E6B810.130
Achromatopsia (no color)#6767670.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #7254BF

    #7254BF

    oklch(53.1% 0.161 293)

  • #6D7200

    #6D7200

    oklch(53% 0.118 112.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7254BF

    #7254BF

    oklch(53.1% 0.161 293)

  • #3766C8

    #3766C8

    oklch(53.1% 0.161 262.9)

  • #9645A1

    #9645A1

    oklch(53.1% 0.161 322.7)

Open the analogous palette in the generator

Split complementary

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

  • #7254BF

    #7254BF

    oklch(53.1% 0.161 293)

  • #8A6500

    #8A6500

    oklch(53% 0.109 83.3)

  • #1E821F

    #1E821F

    oklch(53.1% 0.161 143)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7254BF

    #7254BF

    oklch(53.1% 0.161 293)

  • #A65100

    #A65100

    oklch(53.1% 0.135 53)

  • #007F66

    #007F66

    oklch(53.2% 0.102 172.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7254BF

    #7254BF

    oklch(53.1% 0.161 293)

  • #B73A3D

    #B73A3D

    oklch(53.2% 0.161 23.2)

  • #6D7200

    #6D7200

    oklch(53% 0.118 112.8)

  • #007B83

    #007B83

    oklch(53.1% 0.09 202.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7254BF 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.