#663EA8

Closest named color: Rebecca Purple (#663399). oklch(46.7% 0.163 297), rgb(102, 62, 168).

Aa

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

About this color

#663EA8 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.163 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.44:1.

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

Values

HEX#663EA8
RGBrgb(102, 62, 168)
HSLhsl(263, 46%, 45%)
OKLCHoklch(46.7% 0.163 297)

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 #663EA8 7.44:1 AAA Lc -90.3 Preferred for body text
Black text on #663EA8 2.81:1 Fails Lc 18.6 Dividers and decoration only
#663EA8 text on white 7.44:1 AAA Lc 85.4 Fine for body text
#663EA8 text on black 2.81:1 Fails Lc -16.6 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

    #DCD4F3

    oklch(88.6% 0.043 297.3)

  4. Step 300

    300

    #C5B6EE

    oklch(80.8% 0.079 296.9)

  5. Step 400

    400

    #A98FE5

    oklch(70.7% 0.125 297)

  6. Step 500

    500

    #9570DE

    oklch(63.1% 0.162 297)

  7. Step 600

    600

    #8056CB

    oklch(55.6% 0.175 296.9)

  8. Step 700

    700 (this color)

    #663EA8

    oklch(46.7% 0.163 297)

  9. Step 800

    800

    #583A8E

    oklch(42.7% 0.134 296.8)

  10. Step 900

    900

    #483372

    oklch(37.8% 0.105 296.4)

  11. Step 950

    950

    #2A1E43

    oklch(27% 0.067 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#663EA8 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)#0055AB0.113
Deuteranopia (no green cones)#0354A60.113
Tritanopia (no blue cones)#56566D0.127
Achromatopsia (no color)#5555550.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #663EA8

    #663EA8

    oklch(46.7% 0.163 297)

  • #566100

    #566100

    oklch(46.7% 0.108 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #663EA8

    #663EA8

    oklch(46.7% 0.163 297)

  • #3150B4

    #3150B4

    oklch(46.8% 0.163 266.9)

  • #872E88

    #872E88

    oklch(46.7% 0.163 327.4)

Open the analogous palette in the generator

Split complementary

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

  • #663EA8

    #663EA8

    oklch(46.7% 0.163 297)

  • #715600

    #715600

    oklch(46.8% 0.096 87.4)

  • #006D25

    #006D25

    oklch(46.6% 0.138 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #663EA8

    #663EA8

    oklch(46.7% 0.163 297)

  • #884600

    #884600

    oklch(46.7% 0.113 56.8)

  • #006A59

    #006A59

    oklch(46.9% 0.087 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #663EA8

    #663EA8

    oklch(46.7% 0.163 297)

  • #A22421

    #A22421

    oklch(46.9% 0.163 27.2)

  • #566100

    #566100

    oklch(46.7% 0.108 117.2)

  • #006671

    #006671

    oklch(46.7% 0.08 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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