#663F7D

Closest named color: Rebecca Purple (#663399). oklch(44% 0.107 311.7), rgb(102, 63, 125).

Aa

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

About this color

#663F7D is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.107 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.057 away. White text reads best on it, at 8.16:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.57:1
White text8.16:1

Values

HEX#663F7D
RGBrgb(102, 63, 125)
HSLhsl(278, 33%, 37%)
OKLCHoklch(44% 0.107 311.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 #663F7D 8.16:1 AAA Lc -92.7 Preferred for body text
Black text on #663F7D 2.57:1 Fails Lc 16.0 Dividers and decoration only
#663F7D text on white 8.16:1 AAA Lc 88.0 Fine for body text
#663F7D text on black 2.57:1 Fails Lc -14.1 Not readable

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 800.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CEB6DF

    oklch(81% 0.062 311.2)

  5. Step 400

    400

    #B58ECE

    oklch(70.6% 0.1 311.7)

  6. Step 500

    500

    #A371C1

    oklch(63.1% 0.128 311.9)

  7. Step 600

    600

    #8E58AE

    oklch(55.6% 0.139 311.6)

  8. Step 700

    700

    #794895

    oklch(49.2% 0.129 311.9)

  9. Step 800

    800 (this color)

    #663F7D

    oklch(44% 0.107 311.7)

  10. Step 900

    900

    #503361

    oklch(37.6% 0.083 312)

  11. Step 950

    950

    #2F1E39

    oklch(26.9% 0.053 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#663F7D 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)#314D7F0.087
Deuteranopia (no green cones)#3C507B0.079
Tritanopia (no blue cones)#6449580.075
Achromatopsia (no color)#4F4F4F0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #663F7D

    #663F7D

    oklch(44% 0.107 311.7)

  • #3C5E16

    #3C5E16

    oklch(44% 0.106 131.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #663F7D

    #663F7D

    oklch(44% 0.107 311.7)

  • #4A498B

    #4A498B

    oklch(44% 0.106 281.8)

  • #793863

    #793863

    oklch(44.1% 0.106 342)

Open the analogous palette in the generator

Split complementary

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

  • #663F7D

    #663F7D

    oklch(44% 0.107 311.7)

  • #5D5400

    #5D5400

    oklch(44.1% 0.092 102.3)

  • #006341

    #006341

    oklch(44.1% 0.098 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #663F7D

    #663F7D

    oklch(44% 0.107 311.7)

  • #724800

    #724800

    oklch(43.9% 0.094 71.6)

  • #00605D

    #00605D

    oklch(44.2% 0.076 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #663F7D

    #663F7D

    oklch(44% 0.107 311.7)

  • #823B1D

    #823B1D

    oklch(44.1% 0.107 42.1)

  • #3C5E16

    #3C5E16

    oklch(44% 0.106 131.6)

  • #005C72

    #005C72

    oklch(44% 0.081 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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