#663BAB

Closest named color: Rebecca Purple (#663399). oklch(46.5% 0.171 296.9), rgb(102, 59, 171).

Aa

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

About this color

#663BAB is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.171 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.033 away. White text reads best on it, at 7.55:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.171)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.77:1
White text7.55:1

Values

HEX#663BAB
RGBrgb(102, 59, 171)
HSLhsl(263, 49%, 45%)
OKLCHoklch(46.5% 0.171 296.9)

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 #663BAB 7.55:1 AAA Lc -90.6 Preferred for body text
Black text on #663BAB 2.77:1 Fails Lc 18.3 Dividers and decoration only
#663BAB text on white 7.55:1 AAA Lc 85.7 Fine for body text
#663BAB text on black 2.77:1 Fails Lc -16.3 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD3F5

    oklch(88.5% 0.047 297.5)

  4. Step 300

    300

    #C6B6F0

    oklch(80.9% 0.082 297.2)

  5. Step 400

    400

    #A98EE9

    oklch(70.7% 0.132 296.5)

  6. Step 500

    500

    #966FE2

    oklch(63.2% 0.169 297)

  7. Step 600

    600

    #8154CF

    oklch(55.6% 0.182 296.9)

  8. Step 700

    700 (this color)

    #663BAB

    oklch(46.5% 0.171 296.9)

  9. Step 800

    800

    #593891

    oklch(42.7% 0.141 297.1)

  10. Step 900

    900

    #493274

    oklch(37.8% 0.109 296.9)

  11. Step 950

    950

    #2A1E44

    oklch(27% 0.069 296)

Export this scale for Tailwind in the Tailwind colors tool

#663BAB 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)#0055AE0.115
Deuteranopia (no green cones)#0053A90.115
Tritanopia (no blue cones)#55556E0.131
Achromatopsia (no color)#5454540.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #663BAB

    #663BAB

    oklch(46.5% 0.171 296.9)

  • #566000

    #566000

    oklch(46.4% 0.107 116.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #663BAB

    #663BAB

    oklch(46.5% 0.171 296.9)

  • #2F4EB7

    #2F4EB7

    oklch(46.6% 0.17 267)

  • #882A8A

    #882A8A

    oklch(46.6% 0.171 327)

Open the analogous palette in the generator

Split complementary

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

  • #663BAB

    #663BAB

    oklch(46.5% 0.171 296.9)

  • #705500

    #705500

    oklch(46.5% 0.095 87.2)

  • #006D24

    #006D24

    oklch(46.6% 0.139 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #663BAB

    #663BAB

    oklch(46.5% 0.171 296.9)

  • #874600

    #874600

    oklch(46.6% 0.112 57.2)

  • #006958

    #006958

    oklch(46.5% 0.087 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #663BAB

    #663BAB

    oklch(46.5% 0.171 296.9)

  • #A41C1D

    #A41C1D

    oklch(46.6% 0.171 26.8)

  • #566000

    #566000

    oklch(46.4% 0.107 116.6)

  • #006670

    #006670

    oklch(46.6% 0.08 206.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #663BAB 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.