#C336B3#C336B3

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

Color values

HEX#C336B3
RGBrgb(195, 54, 179)
HSLhsl(307, 57%, 49%)
HSVhsv(307, 72%, 76%)
CMYKcmyk(0%, 72.3%, 8.2%, 23.5%)
CIE-LABlab(48.88, 68.04, -36.37)
CIE-LCHlch(48.88, 77.15, 331.87°)
OKLaboklab(58.84% 0.1963 -0.0998)
OKLCHoklch(58.84% 0.22 333.1)
XYZxyz(31.9617, 17.4978, 44.3331)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336B3 #36C346
analogous
#8D36C3 #C336B3 #C3366C
triadic
#C336B3 #B3C336 #36B3C3
tetradic
#C336B3 #C38D36 #36C346 #366CC3
square
#C336B3 #C38D36 #36C346 #366CC3
split-complementary
#C336B3 #6CC336 #36C38D
monochromatic
#631B5B #932987 #C336B3 #D463C7 #E192D8

Accessibility & contrast

On white

4.67
#C336B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C336B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C336B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336B3#FFFFFF#000000##FFFFFF
##C336B31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#657BB0
Tritanopia (blue-blind)
#CC4471
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c336b3;
/* rgb */ color: rgb(195, 54, 179);
/* oklch */ color: oklch(58.8% 0.220 333.1);
Tailwind
colors: {
  custom: {
    50: '#d97bca',
    500: '#c336b3',
    950: '#000000',
  },
}
SCSS
$custom: #c336b3;
$custom-light: #d97bca;
$custom-dark: #000000;
JSON
{
  "hex": "#c336b3",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 306.809,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.22024,
    "h": 333.1
  },
  "luminance": 0.17495
}

Semantic roles & 50–950 ramp

primary
#C336B3
secondary
#89CC90
accent
#E05948
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C336B3

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

Preview Lab → · Contrast checker → · Palette generator →

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