#C335AF#C335AF

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

Color values

HEX#C335AF
RGBrgb(195, 53, 175)
HSLhsl(308, 57%, 49%)
HSVhsv(308, 73%, 76%)
CMYKcmyk(0%, 72.8%, 10.3%, 23.5%)
CIE-LABlab(48.57, 67.76, -34.51)
CIE-LCHlch(48.57, 76.05, 333.01°)
OKLaboklab(58.55% 0.197 -0.0944)
OKLCHoklch(58.55% 0.218 334.4)
XYZxyz(31.5170, 17.2462, 42.2181)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C335AF #35C349
analogous
#9035C3 #C335AF #C33568
triadic
#C335AF #AFC335 #35AFC3
tetradic
#C335AF #C39035 #35C349 #3568C3
square
#C335AF #C39035 #35C349 #3568C3
split-complementary
#C335AF #68C335 #35C390
monochromatic
#631B59 #932884 #C335AF #D461C4 #E191D6

Accessibility & contrast

On white

4.72
#C335AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C335AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C335AF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C335AF#FFFFFF#000000##FFFFFF
##C335AF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#CC416F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c335af;
/* rgb */ color: rgb(195, 53, 175);
/* oklch */ color: oklch(58.6% 0.218 334.4);
Tailwind
colors: {
  custom: {
    50: '#d97ac7',
    500: '#c335af',
    950: '#000000',
  },
}
SCSS
$custom: #c335af;
$custom-light: #d97ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#c335af",
  "rgb": {
    "r": 195,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 308.451,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.21848,
    "h": 334.4
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#C335AF
secondary
#88CC91
accent
#E15D47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C335AF

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

Preview Lab → · Contrast checker → · Palette generator →

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