#5248A2

Closest named color: Blueberry (#464196). oklch(46% 0.14 284.5), rgb(82, 72, 162).

Aa

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

About this color

#5248A2 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.140 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.033 away. White text reads best on it, at 7.48:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.140)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.80:1
White text7.48:1

Values

HEX#5248A2
RGBrgb(82, 72, 162)
HSLhsl(247, 38%, 46%)
OKLCHoklch(46% 0.14 284.5)

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 #5248A2 7.48:1 AAA Lc -90.6 Preferred for body text
Black text on #5248A2 2.80:1 Fails Lc 18.3 Dividers and decoration only
#5248A2 text on white 7.48:1 AAA Lc 85.7 Fine for body text
#5248A2 text on black 2.80:1 Fails Lc -16.3 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BBBBEC

    oklch(80.9% 0.069 284.8)

  5. Step 400

    400

    #9997E2

    oklch(70.7% 0.109 284.5)

  6. Step 500

    500

    #817BD9

    oklch(63% 0.139 284.6)

  7. Step 600

    600

    #6C63C7

    oklch(55.7% 0.15 284.5)

  8. Step 700

    700 (this color)

    #5248A2

    oklch(46% 0.14 284.5)

  9. Step 800

    800

    #49438B

    oklch(42.7% 0.116 284.1)

  10. Step 900

    900

    #3D396F

    oklch(37.7% 0.09 284.6)

  11. Step 950

    950

    #242241

    oklch(27.1% 0.057 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#5248A2 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)#1458A50.071
Deuteranopia (no green cones)#0E52A00.071
Tritanopia (no blue cones)#365C6E0.118
Achromatopsia (no color)#5555550.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #5248A2

    #5248A2

    oklch(46% 0.14 284.5)

  • #615A00

    #615A00

    oklch(46% 0.097 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5248A2

    #5248A2

    oklch(46% 0.14 284.5)

  • #0E57A4

    #0E57A4

    oklch(46% 0.141 254.7)

  • #743A8D

    #743A8D

    oklch(45.9% 0.141 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #5248A2

    #5248A2

    oklch(46% 0.14 284.5)

  • #784F00

    #784F00

    oklch(46.2% 0.098 74.7)

  • #356700

    #356700

    oklch(46% 0.133 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5248A2

    #5248A2

    oklch(46% 0.14 284.5)

  • #913900

    #913900

    oklch(46% 0.132 44.8)

  • #00694A

    #00694A

    oklch(46.1% 0.098 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5248A2

    #5248A2

    oklch(46% 0.14 284.5)

  • #962C3F

    #962C3F

    oklch(46% 0.141 14.3)

  • #615A00

    #615A00

    oklch(46% 0.097 104.3)

  • #006665

    #006665

    oklch(46.2% 0.079 193.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5248A2 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.