#C335AC#C335AC

#C335AC is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.216 H 335.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C335AC
RGBrgb(195, 53, 172)
HSLhsl(310, 57%, 49%)
HSVhsv(310, 73%, 76%)
CMYKcmyk(0%, 72.8%, 11.8%, 23.5%)
CIE-LABlab(48.42, 67.32, -32.98)
CIE-LCHlch(48.42, 74.96, 333.90°)
OKLaboklab(58.4% 0.1968 -0.09)
OKLCHoklch(58.4% 0.216 335.4)
XYZxyz(31.2256, 17.1296, 40.6835)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C335AC #35C34C
analogous
#9335C3 #C335AC #C33565
triadic
#C335AC #ACC335 #35ACC3
tetradic
#C335AC #C39335 #35C34C #3565C3
square
#C335AC #C39335 #35C34C #3565C3
split-complementary
#C335AC #65C335 #35C393
monochromatic
#631B57 #932882 #C335AC #D461C1 #E191D4

Accessibility & contrast

On white

4.75
#C335AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C335AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C335AC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C335AC#FFFFFF#000000##FFFFFF
##C335AC1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#CD406D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c335ac;
/* rgb */ color: rgb(195, 53, 172);
/* oklch */ color: oklch(58.4% 0.216 335.4);
Tailwind
colors: {
  custom: {
    50: '#d97ac5',
    500: '#c335ac',
    950: '#000000',
  },
}
SCSS
$custom: #c335ac;
$custom-light: #d97ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#c335ac",
  "rgb": {
    "r": 195,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 309.718,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.21639,
    "h": 335.4
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#C335AC
secondary
#88CC93
accent
#E16047
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C335AC

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

Preview Lab → · Contrast checker → · Palette generator →

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