#C336B1#C336B1

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

Color values

HEX#C336B1
RGBrgb(195, 54, 177)
HSLhsl(308, 57%, 49%)
HSVhsv(308, 72%, 76%)
CMYKcmyk(0%, 72.3%, 9.2%, 23.5%)
CIE-LABlab(48.78, 67.73, -35.35)
CIE-LCHlch(48.78, 76.41, 332.44°)
OKLaboklab(58.74% 0.1962 -0.0969)
OKLCHoklch(58.74% 0.219 333.7)
XYZxyz(31.7609, 17.4175, 43.2756)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336B1 #36C348
analogous
#8F36C3 #C336B1 #C3366A
triadic
#C336B1 #B1C336 #36B1C3
tetradic
#C336B1 #C38F36 #36C348 #366AC3
square
#C336B1 #C38F36 #36C348 #366AC3
split-complementary
#C336B1 #6AC336 #36C38F
monochromatic
#631B5A #932985 #C336B1 #D463C5 #E192D7

Accessibility & contrast

On white

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

On black

4.48
#C336B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C336B1#FFFFFF#000000##FFFFFF
##C336B11.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#667BAE
Tritanopia (blue-blind)
#CC4370
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c336b1;
/* rgb */ color: rgb(195, 54, 177);
/* oklch */ color: oklch(58.7% 0.219 333.7);
Tailwind
colors: {
  custom: {
    50: '#d97ac8',
    500: '#c336b1',
    950: '#000000',
  },
}
SCSS
$custom: #c336b1;
$custom-light: #d97ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#c336b1",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 307.66,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.21881,
    "h": 333.7
  },
  "luminance": 0.17415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C336B1

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

Preview Lab → · Contrast checker → · Palette generator →

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