#C336AF#C336AF

#C336AF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.217 H 334.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C336AF
RGBrgb(195, 54, 175)
HSLhsl(309, 57%, 49%)
HSVhsv(309, 72%, 76%)
CMYKcmyk(0%, 72.3%, 10.3%, 23.5%)
CIE-LABlab(48.68, 67.44, -34.33)
CIE-LCHlch(48.68, 75.67, 333.02°)
OKLaboklab(58.63% 0.1961 -0.0939)
OKLCHoklch(58.63% 0.217 334.4)
XYZxyz(31.5630, 17.3383, 42.2334)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336AF #36C34A
analogous
#9136C3 #C336AF #C33668
triadic
#C336AF #AFC336 #36AFC3
tetradic
#C336AF #C39136 #36C34A #3668C3
square
#C336AF #C39136 #36C34A #3668C3
split-complementary
#C336AF #68C336 #36C391
monochromatic
#631B59 #932984 #C336AF #D463C4 #E192D6

Accessibility & contrast

On white

4.70
#C336AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C336AF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336AF#FFFFFF#000000##FFFFFF
##C336AF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#CC426F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c336af;
/* rgb */ color: rgb(195, 54, 175);
/* oklch */ color: oklch(58.6% 0.217 334.4);
Tailwind
colors: {
  custom: {
    50: '#d97ac7',
    500: '#c336af',
    950: '#000000',
  },
}
SCSS
$custom: #c336af;
$custom-light: #d97ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#c336af",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 308.511,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.21739,
    "h": 334.4
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C336AF

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

Preview Lab → · Contrast checker → · Palette generator →

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