#C766DF

Closest named color: Medium Orchid (#BA55D3). oklch(67% 0.195 319.3), rgb(199, 102, 223).

Aa

Black text reads best on this color (6.39:1).

About this color

#C766DF is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.195 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.045 away. Black text reads best on it, at 6.39:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.195)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text6.39:1
White text3.28:1

Values

HEX#C766DF
RGBrgb(199, 102, 223)
HSLhsl(288, 65%, 64%)
OKLCHoklch(67% 0.195 319.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 #C766DF 3.28:1 AA large text Lc -65.1 Content text, not long reading
Black text on #C766DF 6.39:1 AA Lc 44.4 Non-text elements, placeholder text
#C766DF text on white 3.28:1 AA large text Lc 59.7 Large or bold text, headings
#C766DF text on black 6.39:1 AA Lc -42.0 Non-text elements, placeholder text

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

  1. Step 50

    50

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EDCBF6

    oklch(88.4% 0.069 319.1)

  4. Step 300

    300

    #E3A7F2

    oklch(80.9% 0.121 319.5)

  5. Step 400

    400 (this color)

    #C766DF

    oklch(67% 0.195 319.3)

  6. Step 500

    500

    #C641E5

    oklch(63.1% 0.249 319.3)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9600B2

    oklch(49.2% 0.237 319.4)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #641376

    oklch(37.7% 0.163 319.3)

  11. Step 950

    950

    #3B0F45

    oklch(27% 0.103 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#C766DF 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)#4E87E30.181
Deuteranopia (no green cones)#6E91DC0.160
Tritanopia (no blue cones)#C878990.123
Achromatopsia (no color)#8E8E8E0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #C766DF

    #C766DF

    oklch(67% 0.195 319.3)

  • #49B026

    #49B026

    oklch(67.1% 0.195 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C766DF

    #C766DF

    oklch(67% 0.195 319.3)

  • #957BFF

    #957BFF

    oklch(66.9% 0.188 289.4)

  • #E758A7

    #E758A7

    oklch(67% 0.194 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #C766DF

    #C766DF

    oklch(67% 0.195 319.3)

  • #9C9C00

    #9C9C00

    oklch(67.1% 0.146 109.8)

  • #00AF87

    #00AF87

    oklch(67% 0.134 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C766DF

    #C766DF

    oklch(67% 0.195 319.3)

  • #C28900

    #C28900

    oklch(66.9% 0.139 79.1)

  • #00AAB0

    #00AAB0

    oklch(67% 0.114 199.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C766DF

    #C766DF

    oklch(67% 0.195 319.3)

  • #E86C00

    #E86C00

    oklch(67% 0.178 49.5)

  • #49B026

    #49B026

    oklch(67.1% 0.195 139.3)

  • #00A3D6

    #00A3D6

    oklch(67% 0.133 229.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C766DF.

Similar named colors

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

Use #C766DF 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.