#663EAF

Closest named color: Bluey Purple (#6241C7). oklch(47.3% 0.171 295.3), rgb(102, 62, 175).

Aa

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

About this color

#663EAF is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.171 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.039 away. White text reads best on it, at 7.30:1.

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

Values

HEX#663EAF
RGBrgb(102, 62, 175)
HSLhsl(261, 48%, 46%)
OKLCHoklch(47.3% 0.171 295.3)

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 #663EAF 7.30:1 AAA Lc -89.8 Fine for body text
Black text on #663EAF 2.87:1 Fails Lc 19.1 Dividers and decoration only
#663EAF text on white 7.30:1 AAA Lc 84.9 Fine for body text
#663EAF text on black 2.87:1 Fails Lc -17.1 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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD4F5

    oklch(88.6% 0.046 295.2)

  4. Step 300

    300

    #C4B6F1

    oklch(80.8% 0.083 295.4)

  5. Step 400

    400

    #A78EEA

    oklch(70.6% 0.133 295.3)

  6. Step 500

    500

    #936FE3

    oklch(63% 0.17 295.4)

  7. Step 600

    600

    #7F54D1

    oklch(55.6% 0.185 295.6)

  8. Step 700

    700 (this color)

    #663EAF

    oklch(47.3% 0.171 295.3)

  9. Step 800

    800

    #573993

    oklch(42.8% 0.142 295.1)

  10. Step 900

    900

    #473275

    oklch(37.7% 0.111 295)

  11. Step 950

    950

    #2A1E44

    oklch(27% 0.069 296)

Export this scale for Tailwind in the Tailwind colors tool

#663EAF 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)#0057B30.112
Deuteranopia (no green cones)#0055AD0.112
Tritanopia (no blue cones)#5358710.133
Achromatopsia (no color)#5656560.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #663EAF

    #663EAF

    oklch(47.3% 0.171 295.3)

  • #5A6200

    #5A6200

    oklch(47.3% 0.107 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #663EAF

    #663EAF

    oklch(47.3% 0.171 295.3)

  • #2C51BA

    #2C51BA

    oklch(47.3% 0.171 265.5)

  • #892D8E

    #892D8E

    oklch(47.3% 0.171 325.7)

Open the analogous palette in the generator

Split complementary

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

  • #663EAF

    #663EAF

    oklch(47.3% 0.171 295.3)

  • #745600

    #745600

    oklch(47.2% 0.097 85)

  • #00701D

    #00701D

    oklch(47.4% 0.148 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #663EAF

    #663EAF

    oklch(47.3% 0.171 295.3)

  • #8B4600

    #8B4600

    oklch(47.2% 0.116 55.4)

  • #006B59

    #006B59

    oklch(47.1% 0.088 175.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #663EAF

    #663EAF

    oklch(47.3% 0.171 295.3)

  • #A71E23

    #A71E23

    oklch(47.3% 0.172 25.4)

  • #5A6200

    #5A6200

    oklch(47.3% 0.107 115.2)

  • #006871

    #006871

    oklch(47.2% 0.081 205.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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