#C336B5#C336B5

#C336B5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.222 H 332.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C336B5
RGBrgb(195, 54, 181)
HSLhsl(306, 57%, 49%)
HSVhsv(306, 72%, 76%)
CMYKcmyk(0%, 72.3%, 7.2%, 23.5%)
CIE-LABlab(48.98, 68.34, -37.38)
CIE-LCHlch(48.98, 77.90, 331.32°)
OKLaboklab(58.95% 0.1965 -0.1027)
OKLCHoklch(58.95% 0.222 332.4)
XYZxyz(32.1654, 17.5793, 45.4062)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336B5 #36C344
analogous
#8B36C3 #C336B5 #C3366F
triadic
#C336B5 #B5C336 #36B5C3
tetradic
#C336B5 #C38B36 #36C344 #366FC3
square
#C336B5 #C38B36 #36C344 #366FC3
split-complementary
#C336B5 #6FC336 #36C38B
monochromatic
#631B5C #932989 #C336B5 #D463C8 #E192D9

Accessibility & contrast

On white

4.65
#C336B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C336B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C336B5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336B5#FFFFFF#000000##FFFFFF
##C336B51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#647BB2
Tritanopia (blue-blind)
#CB4572
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c336b5;
/* rgb */ color: rgb(195, 54, 181);
/* oklch */ color: oklch(58.9% 0.222 332.4);
Tailwind
colors: {
  custom: {
    50: '#d97bcb',
    500: '#c336b5',
    950: '#000000',
  },
}
SCSS
$custom: #c336b5;
$custom-light: #d97bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c336b5",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 305.957,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.22168,
    "h": 332.4
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C336B5

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

Preview Lab → · Contrast checker → · Palette generator →

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