#C338B3

Closest named color: Purpley Pink (#C83CB9). oklch(59% 0.218 333.1), rgb(195, 56, 179).

Aa

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

About this color

#C338B3 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.218 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.014 away. White text reads best on it, at 4.62:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.218)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.53:1
White text4.62:1

Values

HEX#C338B3
RGBrgb(195, 56, 179)
HSLhsl(307, 55%, 49%)
OKLCHoklch(59% 0.218 333.1)

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 #C338B3 4.62:1 AA Lc -76.5 Fine for body text
Black text on #C338B3 4.53:1 AA Lc 33.1 Non-text elements, placeholder text
#C338B3 text on white 4.62:1 AA Lc 71.0 Content text, not long reading
#C338B3 text on black 4.53:1 AA Lc -30.7 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 600.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CCE9

    oklch(88.4% 0.055 332.7)

  4. Step 300

    300

    #E7A9DC

    oklch(80.9% 0.098 332.8)

  5. Step 400

    400

    #D978CA

    oklch(70.7% 0.157 333.1)

  6. Step 500

    500

    #CC4FBC

    oklch(63% 0.201 333)

  7. Step 600

    600 (this color)

    #C338B3

    oklch(59% 0.218 333.1)

  8. Step 700

    700

    #9E1A90

    oklch(49.2% 0.203 333.3)

  9. Step 800

    800

    #801A75

    oklch(42.7% 0.168 333.1)

  10. Step 900

    900

    #671E5E

    oklch(37.6% 0.131 333.2)

  11. Step 950

    950

    #3D1337

    oklch(27% 0.083 333.6)

Export this scale for Tailwind in the Tailwind colors tool

#C338B3 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)#3268B60.236
Deuteranopia (no green cones)#667CB00.200
Tritanopia (no blue cones)#CC46720.113
Achromatopsia (no color)#7575750.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #C338B3

    #C338B3

    oklch(59% 0.218 333.1)

  • #00964F

    #00964F

    oklch(59% 0.152 153)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C338B3

    #C338B3

    oklch(59% 0.218 333.1)

  • #994FE5

    #994FE5

    oklch(59% 0.218 302.9)

  • #DC2571

    #DC2571

    oklch(59% 0.218 2.9)

Open the analogous palette in the generator

Split complementary

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

  • #C338B3

    #C338B3

    oklch(59% 0.218 333.1)

  • #6D8A00

    #6D8A00

    oklch(58.9% 0.145 123.2)

  • #009183

    #009183

    oklch(59% 0.105 183)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C338B3

    #C338B3

    oklch(59% 0.218 333.1)

  • #967A00

    #967A00

    oklch(58.9% 0.121 92.7)

  • #008DA2

    #008DA2

    oklch(59.1% 0.103 212.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C338B3

    #C338B3

    oklch(59% 0.218 333.1)

  • #B46800

    #B46800

    oklch(59% 0.135 62.9)

  • #00964F

    #00964F

    oklch(59% 0.152 153)

  • #0084CB

    #0084CB

    oklch(59% 0.144 243.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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