#6B38B2

Closest named color: Bluey Purple (#6241C7). oklch(47.2% 0.183 298.2), rgb(107, 56, 178).

Aa

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

About this color

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

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

Values

HEX#6B38B2
RGBrgb(107, 56, 178)
HSLhsl(265, 52%, 46%)
OKLCHoklch(47.2% 0.183 298.2)

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 #6B38B2 7.41:1 AAA Lc -90.0 Fine for body text
Black text on #6B38B2 2.83:1 Fails Lc 18.9 Dividers and decoration only
#6B38B2 text on white 7.41:1 AAA Lc 85.1 Fine for body text
#6B38B2 text on black 2.83:1 Fails Lc -16.9 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

    #ECE7F9

    oklch(93.7% 0.025 298.6)

  3. Step 200

    200

    #DDD3F6

    oklch(88.6% 0.049 298.5)

  4. Step 300

    300

    #C7B5F3

    oklch(81% 0.088 297.7)

  5. Step 400

    400

    #AC8BED

    oklch(70.7% 0.143 298.2)

  6. Step 500

    500

    #996BE7

    oklch(63.2% 0.181 298.2)

  7. Step 600

    600

    #844FD5

    oklch(55.6% 0.197 297.9)

  8. Step 700

    700 (this color)

    #6B38B2

    oklch(47.2% 0.183 298.2)

  9. Step 800

    800

    #5B3495

    oklch(42.6% 0.152 298.1)

  10. Step 900

    900

    #4B2F77

    oklch(37.7% 0.119 298.5)

  11. Step 950

    950

    #2B1C46

    oklch(26.9% 0.076 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#6B38B2 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)#0056B60.124
Deuteranopia (no green cones)#0054AF0.124
Tritanopia (no blue cones)#5A55700.140
Achromatopsia (no color)#5555550.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B38B2

    #6B38B2

    oklch(47.2% 0.183 298.2)

  • #566300

    #566300

    oklch(47.2% 0.11 118.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B38B2

    #6B38B2

    oklch(47.2% 0.183 298.2)

  • #314DC0

    #314DC0

    oklch(47.2% 0.183 268)

  • #8E258D

    #8E258D

    oklch(47.2% 0.183 328.4)

Open the analogous palette in the generator

Split complementary

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

  • #6B38B2

    #6B38B2

    oklch(47.2% 0.183 298.2)

  • #725700

    #725700

    oklch(47.2% 0.096 87.7)

  • #006F2A

    #006F2A

    oklch(47.3% 0.136 148.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B38B2

    #6B38B2

    oklch(47.2% 0.183 298.2)

  • #894800

    #894800

    oklch(47.2% 0.113 57.9)

  • #006B5B

    #006B5B

    oklch(47.2% 0.087 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B38B2

    #6B38B2

    oklch(47.2% 0.183 298.2)

  • #AB1212

    #AB1212

    oklch(47.3% 0.184 28.1)

  • #566300

    #566300

    oklch(47.2% 0.11 118.3)

  • #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 #6B38B2, closest first.

Similar named colors

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

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