#C336B0#C336B0

#C336B0 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.218 H 334.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C336B0
RGBrgb(195, 54, 176)
HSLhsl(308, 57%, 49%)
HSVhsv(308, 72%, 76%)
CMYKcmyk(0%, 72.3%, 9.7%, 23.5%)
CIE-LABlab(48.73, 67.59, -34.84)
CIE-LCHlch(48.73, 76.04, 332.73°)
OKLaboklab(58.68% 0.1961 -0.0954)
OKLCHoklch(58.68% 0.218 334.1)
XYZxyz(31.6616, 17.3777, 42.7526)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336B0 #36C349
analogous
#9036C3 #C336B0 #C3366A
triadic
#C336B0 #B0C336 #36B0C3
tetradic
#C336B0 #C39036 #36C349 #366AC3
square
#C336B0 #C39036 #36C349 #366AC3
split-complementary
#C336B0 #6AC336 #36C390
monochromatic
#631B59 #932985 #C336B0 #D463C4 #E192D6

Accessibility & contrast

On white

4.69
#C336B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C336B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336B0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336B0#FFFFFF#000000##FFFFFF
##C336B01.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#667BAD
Tritanopia (blue-blind)
#CC436F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c336b0;
/* rgb */ color: rgb(195, 54, 176);
/* oklch */ color: oklch(58.7% 0.218 334.1);
Tailwind
colors: {
  custom: {
    50: '#d97ac8',
    500: '#c336b0',
    950: '#000000',
  },
}
SCSS
$custom: #c336b0;
$custom-light: #d97ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#c336b0",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 308.085,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.2181,
    "h": 334.1
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#C336B0
secondary
#89CC92
accent
#E05C48
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C336B0

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

Preview Lab → · Contrast checker → · Palette generator →

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