#C336CA#C336CA

#C336CA is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.1% C 0.237 H 326.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C336CA
RGBrgb(195, 54, 202)
HSLhsl(297, 58%, 50%)
HSVhsv(297, 73%, 79%)
CMYKcmyk(3.5%, 73.3%, 0%, 20.8%)
CIE-LABlab(50.11, 71.68, -47.80)
CIE-LCHlch(50.11, 86.15, 326.30°)
OKLaboklab(60.11% 0.1967 -0.1329)
OKLCHoklch(60.11% 0.237 326)
XYZxyz(34.4848, 18.5070, 57.6215)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336CA #3DCA36
analogous
#7936CA #C336CA #CA3687
triadic
#C336CA #CAC336 #36CAC3
tetradic
#C336CA #CA7936 #3DCA36 #3687CA
square
#C336CA #CA7936 #3DCA36 #3687CA
split-complementary
#C336CA #87CA36 #36CA79
monochromatic
#661C6A #95299A #C336CA #D166D7 #E097E4

Accessibility & contrast

On white

4.47
#C336CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C336CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C336CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336CA#FFFFFF#000000##000000
##C336CA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#C84F7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c336ca;
/* rgb */ color: rgb(195, 54, 202);
/* oklch */ color: oklch(60.1% 0.237 326.0);
Tailwind
colors: {
  custom: {
    50: '#d97bdb',
    500: '#c336ca',
    950: '#000000',
  },
}
SCSS
$custom: #c336ca;
$custom-light: #d97bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c336ca",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 297.162,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.23737,
    "h": 326
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#C336CA
secondary
#90CF8D
accent
#E1464E
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C336CA

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

Preview Lab → · Contrast checker → · Palette generator →

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