#6A38B2

Closest named color: Bluey Purple (#6241C7). oklch(47.1% 0.183 297.7), rgb(106, 56, 178).

Aa

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

About this color

#6A38B2 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.040 away. White text reads best on it, at 7.44:1.

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

Values

HEX#6A38B2
RGBrgb(106, 56, 178)
HSLhsl(265, 52%, 46%)
OKLCHoklch(47.1% 0.183 297.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 #6A38B2 7.44:1 AAA Lc -90.1 Preferred for body text
Black text on #6A38B2 2.82:1 Fails Lc 18.8 Dividers and decoration only
#6A38B2 text on white 7.44:1 AAA Lc 85.2 Fine for body text
#6A38B2 text on black 2.82:1 Fails Lc -16.8 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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C7B5F3

    oklch(81% 0.088 297.7)

  5. Step 400

    400

    #AB8CED

    oklch(70.7% 0.141 297.4)

  6. Step 500

    500

    #986BE7

    oklch(63.1% 0.181 297.7)

  7. Step 600

    600

    #844FD5

    oklch(55.6% 0.197 297.9)

  8. Step 700

    700 (this color)

    #6A38B2

    oklch(47.1% 0.183 297.7)

  9. Step 800

    800

    #5B3595

    oklch(42.7% 0.151 297.9)

  10. Step 900

    900

    #4A2F77

    oklch(37.6% 0.119 297.7)

  11. Step 950

    950

    #2B1C46

    oklch(26.9% 0.076 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#6A38B2 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)#0055B60.122
Deuteranopia (no green cones)#0054AF0.123
Tritanopia (no blue cones)#5855700.140
Achromatopsia (no color)#5555550.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A38B2

    #6A38B2

    oklch(47.1% 0.183 297.7)

  • #566200

    #566200

    oklch(46.9% 0.109 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A38B2

    #6A38B2

    oklch(47.1% 0.183 297.7)

  • #304DC0

    #304DC0

    oklch(47.2% 0.183 267.8)

  • #8D258E

    #8D258E

    oklch(47.1% 0.183 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #6A38B2

    #6A38B2

    oklch(47.1% 0.183 297.7)

  • #725700

    #725700

    oklch(47.2% 0.096 87.7)

  • #006F28

    #006F28

    oklch(47.2% 0.138 147.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A38B2

    #6A38B2

    oklch(47.1% 0.183 297.7)

  • #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.

  • #6A38B2

    #6A38B2

    oklch(47.1% 0.183 297.7)

  • #AA1214

    #AA1214

    oklch(47.1% 0.183 27.7)

  • #566200

    #566200

    oklch(46.9% 0.109 117.7)

  • #006772

    #006772

    oklch(47% 0.081 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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