#6B0CEB

Closest named color: Purply Blue (#661AEE). oklch(49.1% 0.272 290), rgb(107, 12, 235).

Aa

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

About this color

#6B0CEB is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.272 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Purply Blue (#661AEE), ΔE 0.014 away. White text reads best on it, at 7.29:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.272)
Temperaturecool
Nearest namePurply Blue (#661AEE)
Black text2.87:1
White text7.29:1

Values

HEX#6B0CEB
RGBrgb(107, 12, 235)
HSLhsl(266, 90%, 48%)
OKLCHoklch(49.1% 0.272 290)

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 #6B0CEB 7.29:1 AAA Lc -88.1 Fine for body text
Black text on #6B0CEB 2.87:1 Fails Lc 20.9 Dividers and decoration only
#6B0CEB text on white 7.29:1 AAA Lc 83.1 Fine for body text
#6B0CEB text on black 2.87:1 Fails Lc -18.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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FF

    oklch(93.7% 0.032 289.6)

  3. Step 200

    200

    #D8D3FF

    oklch(88.5% 0.06 290.3)

  4. Step 300

    300

    #BFB5FF

    oklch(80.8% 0.104 290.1)

  5. Step 400

    400

    #A18BFF

    oklch(70.7% 0.166 290.2)

  6. Step 500

    500

    #8C68FF

    oklch(63.1% 0.214 289.8)

  7. Step 600

    600

    #7B39FF

    oklch(55.5% 0.266 289.9)

  8. Step 700

    700 (this color)

    #6B0CEB

    oklch(49.1% 0.272 290)

  9. Step 800

    800

    #5717BE

    oklch(42.8% 0.226 290.1)

  10. Step 900

    900

    #462095

    oklch(37.6% 0.175 290)

  11. Step 950

    950

    #281657

    oklch(27% 0.11 289.6)

Export this scale for Tailwind in the Tailwind colors tool

#6B0CEB 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)#005AF00.135
Deuteranopia (no green cones)#0051E80.128
Tritanopia (no blue cones)#355F8A0.215
Achromatopsia (no color)#5656560.275

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B0CEB

    #6B0CEB

    oklch(49.1% 0.272 290)

  • #656500

    #656500

    oklch(49.1% 0.107 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B0CEB

    #6B0CEB

    oklch(49.1% 0.272 290)

  • #0056CF

    #0056CF

    oklch(49.1% 0.2 260)

  • #9600B0

    #9600B0

    oklch(49% 0.235 320)

Open the analogous palette in the generator

Split complementary

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

  • #6B0CEB

    #6B0CEB

    oklch(49.1% 0.272 290)

  • #7E5900

    #7E5900

    oklch(49% 0.101 80.5)

  • #217400

    #217400

    oklch(49% 0.157 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B0CEB

    #6B0CEB

    oklch(49.1% 0.272 290)

  • #984500

    #984500

    oklch(49% 0.13 50)

  • #007258

    #007258

    oklch(49.1% 0.097 169.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B0CEB

    #6B0CEB

    oklch(49.1% 0.272 290)

  • #B6002D

    #B6002D

    oklch(49.1% 0.197 20.1)

  • #656500

    #656500

    oklch(49.1% 0.107 109.8)

  • #006E73

    #006E73

    oklch(48.9% 0.083 200.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6B0CEB.

Similar named colors

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

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