#6B51BD

Closest named color: Iris (#6258C4). oklch(51.8% 0.163 290.7), rgb(107, 81, 189).

Aa

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

About this color

#6B51BD is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.163 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.022 away. White text reads best on it, at 5.93:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.163)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.53:1
White text5.93:1

Values

HEX#6B51BD
RGBrgb(107, 81, 189)
HSLhsl(254, 45%, 53%)
OKLCHoklch(51.8% 0.163 290.7)

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 #6B51BD 5.93:1 AA Lc -84.6 Fine for body text
Black text on #6B51BD 3.53:1 AA large text Lc 24.7 Dividers and decoration only
#6B51BD text on white 5.93:1 AA Lc 79.4 Fine for body text
#6B51BD text on black 3.53:1 AA large text Lc -22.4 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F5

    oklch(88.5% 0.044 289.8)

  4. Step 300

    300

    #C0B8F0

    oklch(80.8% 0.079 291.1)

  5. Step 400

    400

    #A192E9

    oklch(70.8% 0.126 290.7)

  6. Step 500

    500

    #8B74E2

    oklch(63.1% 0.161 290.7)

  7. Step 600

    600

    #765AD0

    oklch(55.6% 0.175 290.5)

  8. Step 700

    700 (this color)

    #6B51BD

    oklch(51.8% 0.163 290.7)

  9. Step 800

    800

    #513D92

    oklch(42.8% 0.134 290.4)

  10. Step 900

    900

    #433574

    oklch(37.8% 0.104 290.8)

  11. Step 950

    950

    #271F44

    oklch(26.9% 0.067 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#6B51BD 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)#0F66C10.100
Deuteranopia (no green cones)#1761BB0.096
Tritanopia (no blue cones)#53697F0.133
Achromatopsia (no color)#6464640.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B51BD

    #6B51BD

    oklch(51.8% 0.163 290.7)

  • #6C6D00

    #6C6D00

    oklch(51.7% 0.113 110.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B51BD

    #6B51BD

    oklch(51.8% 0.163 290.7)

  • #2C63C4

    #2C63C4

    oklch(51.8% 0.163 260.8)

  • #9041A0

    #9041A0

    oklch(51.7% 0.163 320.6)

Open the analogous palette in the generator

Split complementary

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

  • #6B51BD

    #6B51BD

    oklch(51.8% 0.163 290.7)

  • #886000

    #886000

    oklch(51.8% 0.107 80.2)

  • #237D0D

    #237D0D

    oklch(51.7% 0.163 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B51BD

    #6B51BD

    oklch(51.8% 0.163 290.7)

  • #A34C00

    #A34C00

    oklch(51.8% 0.135 50.9)

  • #007B60

    #007B60

    oklch(51.9% 0.102 170.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B51BD

    #6B51BD

    oklch(51.8% 0.163 290.7)

  • #B3343E

    #B3343E

    oklch(51.9% 0.163 20.7)

  • #6C6D00

    #6C6D00

    oklch(51.7% 0.113 110.4)

  • #00777D

    #00777D

    oklch(51.8% 0.088 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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