#C336BB#C336BB

#C336BB is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.226 H 330.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C336BB
RGBrgb(195, 54, 187)
HSLhsl(303, 57%, 49%)
HSVhsv(303, 72%, 76%)
CMYKcmyk(0%, 72.3%, 4.1%, 23.5%)
CIE-LABlab(49.29, 69.27, -40.40)
CIE-LCHlch(49.29, 80.19, 329.75°)
OKLaboklab(59.27% 0.1967 -0.1114)
OKLCHoklch(59.27% 0.226 330.5)
XYZxyz(32.7944, 17.8309, 48.7185)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336BB #36C33E
analogous
#8536C3 #C336BB #C33675
triadic
#C336BB #BBC336 #36BBC3
tetradic
#C336BB #C38536 #36C33E #3675C3
square
#C336BB #C38536 #36C33E #3675C3
split-complementary
#C336BB #75C336 #36C385
monochromatic
#631B5F #93298D #C336BB #D463CD #E192DC

Accessibility & contrast

On white

4.60
#C336BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C336BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C336BB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336BB#FFFFFF#000000##FFFFFF
##C336BB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#CA4875
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c336bb;
/* rgb */ color: rgb(195, 54, 187);
/* oklch */ color: oklch(59.3% 0.226 330.5);
Tailwind
colors: {
  custom: {
    50: '#d97bd0',
    500: '#c336bb',
    950: '#000000',
  },
}
SCSS
$custom: #c336bb;
$custom-light: #d97bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#c336bb",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 303.404,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.22606,
    "h": 330.5
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#C336BB
secondary
#89CC8D
accent
#E05148
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C336BB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C336BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva