#6B45AB

Closest named color: Rebecca Purple (#663399). oklch(48.6% 0.157 297.4), rgb(107, 69, 171).

Aa

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

About this color

#6B45AB is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.157 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.048 away. White text reads best on it, at 6.85:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.157)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.06:1
White text6.85:1

Values

HEX#6B45AB
RGBrgb(107, 69, 171)
HSLhsl(262, 43%, 47%)
OKLCHoklch(48.6% 0.157 297.4)

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 #6B45AB 6.85:1 AA Lc -88.3 Fine for body text
Black text on #6B45AB 3.06:1 AA large text Lc 20.7 Dividers and decoration only
#6B45AB text on white 6.85:1 AA Lc 83.3 Fine for body text
#6B45AB text on black 3.06:1 AA large text Lc -18.6 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

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DCD4F2

    oklch(88.6% 0.042 297.7)

  4. Step 300

    300

    #C6B7EC

    oklch(81% 0.075 297.7)

  5. Step 400

    400

    #A98FE3

    oklch(70.6% 0.123 297.4)

  6. Step 500

    500

    #9571DA

    oklch(63% 0.155 297.6)

  7. Step 600

    600

    #8057C8

    oklch(55.5% 0.169 297.3)

  8. Step 700

    700 (this color)

    #6B45AB

    oklch(48.6% 0.157 297.4)

  9. Step 800

    800

    #583B8C

    oklch(42.7% 0.13 297.1)

  10. Step 900

    900

    #483370

    oklch(37.6% 0.102 297.1)

  11. Step 950

    950

    #2A1F41

    oklch(27% 0.062 297)

Export this scale for Tailwind in the Tailwind colors tool

#6B45AB 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)#055BAE0.113
Deuteranopia (no green cones)#1D59A90.105
Tritanopia (no blue cones)#5C5B710.123
Achromatopsia (no color)#5A5A5A0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B45AB

    #6B45AB

    oklch(48.6% 0.157 297.4)

  • #5B6700

    #5B6700

    oklch(48.6% 0.113 117.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B45AB

    #6B45AB

    oklch(48.6% 0.157 297.4)

  • #3856B7

    #3856B7

    oklch(48.6% 0.157 267.3)

  • #8B378C

    #8B378C

    oklch(48.6% 0.156 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #6B45AB

    #6B45AB

    oklch(48.6% 0.157 297.4)

  • #775B00

    #775B00

    oklch(48.6% 0.099 87.7)

  • #007329

    #007329

    oklch(48.4% 0.142 147.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B45AB

    #6B45AB

    oklch(48.6% 0.157 297.4)

  • #8F4B00

    #8F4B00

    oklch(48.6% 0.117 57.6)

  • #006F5F

    #006F5F

    oklch(48.5% 0.089 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B45AB

    #6B45AB

    oklch(48.6% 0.157 297.4)

  • #A62E28

    #A62E28

    oklch(48.6% 0.157 27.5)

  • #5B6700

    #5B6700

    oklch(48.6% 0.113 117.4)

  • #006C77

    #006C77

    oklch(48.6% 0.083 207.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6B45AB 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.