#6B38B5

Closest named color: Bluey Purple (#6241C7). oklch(47.4% 0.187 297.5), rgb(107, 56, 181).

Aa

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

About this color

#6B38B5 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.187 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.037 away. White text reads best on it, at 7.34:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.187)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text2.85:1
White text7.34:1

Values

HEX#6B38B5
RGBrgb(107, 56, 181)
HSLhsl(264, 53%, 46%)
OKLCHoklch(47.4% 0.187 297.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 #6B38B5 7.34:1 AAA Lc -89.8 Fine for body text
Black text on #6B38B5 2.85:1 Fails Lc 19.2 Dividers and decoration only
#6B38B5 text on white 7.34:1 AAA Lc 84.9 Fine for body text
#6B38B5 text on black 2.85:1 Fails Lc -17.1 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C7B5F4

    oklch(81% 0.089 297.5)

  5. Step 400

    400

    #AB8BEF

    oklch(70.7% 0.145 297.3)

  6. Step 500

    500

    #986AE9

    oklch(63% 0.185 297.5)

  7. Step 600

    600

    #844ED7

    oklch(55.6% 0.2 297.6)

  8. Step 700

    700 (this color)

    #6B38B5

    oklch(47.4% 0.187 297.5)

  9. Step 800

    800

    #5B3497

    oklch(42.7% 0.155 297.6)

  10. Step 900

    900

    #4A2F78

    oklch(37.7% 0.12 297.4)

  11. Step 950

    950

    #2B1C46

    oklch(26.9% 0.076 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#6B38B5 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)#0056B90.123
Deuteranopia (no green cones)#0054B20.123
Tritanopia (no blue cones)#5956720.142
Achromatopsia (no color)#5656560.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B38B5

    #6B38B5

    oklch(47.4% 0.187 297.5)

  • #586300

    #586300

    oklch(47.4% 0.109 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B38B5

    #6B38B5

    oklch(47.4% 0.187 297.5)

  • #2F4DC3

    #2F4DC3

    oklch(47.4% 0.187 267.6)

  • #8F2490

    #8F2490

    oklch(47.5% 0.187 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #6B38B5

    #6B38B5

    oklch(47.4% 0.187 297.5)

  • #735800

    #735800

    oklch(47.5% 0.097 87.9)

  • #007027

    #007027

    oklch(47.5% 0.14 147.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B38B5

    #6B38B5

    oklch(47.4% 0.187 297.5)

  • #8A4800

    #8A4800

    oklch(47.4% 0.114 57.5)

  • #006C5B

    #006C5B

    oklch(47.5% 0.088 176.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B38B5

    #6B38B5

    oklch(47.4% 0.187 297.5)

  • #AD0E14

    #AD0E14

    oklch(47.5% 0.187 27.3)

  • #586300

    #586300

    oklch(47.4% 0.109 117)

  • #006873

    #006873

    oklch(47.3% 0.081 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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