#7640C8

Closest named color: Bluey Purple (#6241C7). oklch(51.2% 0.2 296.9), rgb(118, 64, 200).

Aa

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

About this color

#7640C8 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.200 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.036 away. White text reads best on it, at 6.29:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.200)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.33:1
White text6.29:1

Values

HEX#7640C8
RGBrgb(118, 64, 200)
HSLhsl(264, 55%, 52%)
OKLCHoklch(51.2% 0.2 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 #7640C8 6.29:1 AA Lc -85.8 Fine for body text
Black text on #7640C8 3.33:1 AA large text Lc 23.4 Dividers and decoration only
#7640C8 text on white 6.29:1 AA Lc 80.7 Fine for body text
#7640C8 text on black 3.33:1 AA large text Lc -21.2 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2F9

    oklch(88.4% 0.054 297)

  4. Step 300

    300

    #C7B4F8

    oklch(81% 0.096 297)

  5. Step 400

    400

    #AB89F4

    oklch(70.6% 0.155 296.9)

  6. Step 500

    500

    #9867F0

    oklch(63% 0.198 296.8)

  7. Step 600

    600

    #8449DE

    oklch(55.5% 0.215 297)

  8. Step 700

    700 (this color)

    #7640C8

    oklch(51.2% 0.2 296.9)

  9. Step 800

    800

    #5B319C

    oklch(42.7% 0.165 296.8)

  10. Step 900

    900

    #4A2D7C

    oklch(37.7% 0.128 296.7)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#7640C8 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)#0061CC0.131
Deuteranopia (no green cones)#005EC50.131
Tritanopia (no blue cones)#61617F0.154
Achromatopsia (no color)#6060600.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #7640C8

    #7640C8

    oklch(51.2% 0.2 296.9)

  • #626E00

    #626E00

    oklch(51% 0.118 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7640C8

    #7640C8

    oklch(51.2% 0.2 296.9)

  • #3457D7

    #3457D7

    oklch(51.2% 0.2 267.1)

  • #9D2AA0

    #9D2AA0

    oklch(51.1% 0.2 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #7640C8

    #7640C8

    oklch(51.2% 0.2 296.9)

  • #806200

    #806200

    oklch(51.2% 0.105 87.6)

  • #007C2A

    #007C2A

    oklch(51.1% 0.152 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7640C8

    #7640C8

    oklch(51.2% 0.2 296.9)

  • #9A5000

    #9A5000

    oklch(51.1% 0.124 56.7)

  • #007865

    #007865

    oklch(51.2% 0.095 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7640C8

    #7640C8

    oklch(51.2% 0.2 296.9)

  • #BF131B

    #BF131B

    oklch(51.2% 0.2 26.8)

  • #626E00

    #626E00

    oklch(51% 0.118 117)

  • #007480

    #007480

    oklch(51.1% 0.088 207.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7640C8 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.