#C336B2#C336B2

#C336B2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.220 H 333.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C336B2
RGBrgb(195, 54, 178)
HSLhsl(307, 57%, 49%)
HSVhsv(307, 72%, 76%)
CMYKcmyk(0%, 72.3%, 8.7%, 23.5%)
CIE-LABlab(48.83, 67.89, -35.86)
CIE-LCHlch(48.83, 76.78, 332.15°)
OKLaboklab(58.79% 0.1963 -0.0983)
OKLCHoklch(58.79% 0.22 333.4)
XYZxyz(31.8609, 17.4575, 43.8024)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336B2 #36C347
analogous
#8E36C3 #C336B2 #C3366C
triadic
#C336B2 #B2C336 #36B2C3
tetradic
#C336B2 #C38E36 #36C347 #366CC3
square
#C336B2 #C38E36 #36C347 #366CC3
split-complementary
#C336B2 #6CC336 #36C38E
monochromatic
#631B5B #932986 #C336B2 #D463C6 #E192D7

Accessibility & contrast

On white

4.68
#C336B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C336B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336B2#FFFFFF#000000##FFFFFF
##C336B21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#CC4470
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c336b2;
/* rgb */ color: rgb(195, 54, 178);
/* oklch */ color: oklch(58.8% 0.220 333.4);
Tailwind
colors: {
  custom: {
    50: '#d97bc9',
    500: '#c336b2',
    950: '#000000',
  },
}
SCSS
$custom: #c336b2;
$custom-light: #d97bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c336b2",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 307.234,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.21952,
    "h": 333.4
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#C336B2
secondary
#89CC91
accent
#E05A48
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C336B2

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

Preview Lab → · Contrast checker → · Palette generator →

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