#645FBA

Closest named color: Iris (#6258C4). oklch(53.5% 0.139 283.1), rgb(100, 95, 186).

Aa

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

About this color

#645FBA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.139 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.025 away. White text reads best on it, at 5.40:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.88:1
White text5.40:1

Values

HEX#645FBA
RGBrgb(100, 95, 186)
HSLhsl(243, 40%, 55%)
OKLCHoklch(53.5% 0.139 283.1)

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 #645FBA 5.40:1 AA Lc -82.1 Fine for body text
Black text on #645FBA 3.88:1 AA large text Lc 27.3 Dividers and decoration only
#645FBA text on white 5.40:1 AA Lc 76.7 Fine for body text
#645FBA text on black 3.88:1 AA large text Lc -25.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #BABCE8

    oklch(80.8% 0.062 282.9)

  5. Step 400

    400

    #9898DD

    oklch(70.6% 0.1 283.5)

  6. Step 500

    500

    #807ED4

    oklch(63.2% 0.127 283.2)

  7. Step 600

    600 (this color)

    #645FBA

    oklch(53.5% 0.139 283.1)

  8. Step 700

    700

    #5854A7

    oklch(49.2% 0.129 282.7)

  9. Step 800

    800

    #484587

    oklch(42.7% 0.107 283)

  10. Step 900

    900

    #3C3A6C

    oklch(37.6% 0.084 283.4)

  11. Step 950

    950

    #23233F

    oklch(27.1% 0.051 282.4)

Export this scale for Tailwind in the Tailwind colors tool

#645FBA 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)#386DBD0.059
Deuteranopia (no green cones)#3367B80.060
Tritanopia (no blue cones)#4772840.118
Achromatopsia (no color)#6A6A6A0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #645FBA

    #645FBA

    oklch(53.5% 0.139 283.1)

  • #796F00

    #796F00

    oklch(53.4% 0.112 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #645FBA

    #645FBA

    oklch(53.5% 0.139 283.1)

  • #276EBB

    #276EBB

    oklch(53.4% 0.139 253.5)

  • #8951A5

    #8951A5

    oklch(53.4% 0.139 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #645FBA

    #645FBA

    oklch(53.5% 0.139 283.1)

  • #946100

    #946100

    oklch(53.5% 0.114 73.4)

  • #4B7D19

    #4B7D19

    oklch(53.4% 0.138 133.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #645FBA

    #645FBA

    oklch(53.5% 0.139 283.1)

  • #AD4C1E

    #AD4C1E

    oklch(53.5% 0.139 43)

  • #00815A

    #00815A

    oklch(53.4% 0.115 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #645FBA

    #645FBA

    oklch(53.5% 0.139 283.1)

  • #AE4456

    #AE4456

    oklch(53.4% 0.139 12.8)

  • #796F00

    #796F00

    oklch(53.4% 0.112 103.3)

  • #007E7C

    #007E7C

    oklch(53.6% 0.092 192.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #645FBA 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.