#C535B2#C535B2

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

Color values

HEX#C535B2
RGBrgb(197, 53, 178)
HSLhsl(308, 58%, 49%)
HSVhsv(308, 73%, 77%)
CMYKcmyk(0%, 73.1%, 9.6%, 22.7%)
CIE-LABlab(49.05, 68.66, -35.50)
CIE-LCHlch(49.05, 77.30, 332.66°)
OKLaboklab(59.01% 0.1992 -0.0972)
OKLCHoklch(59.01% 0.222 334)
XYZxyz(32.3352, 17.6337, 43.8115)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C535B2 #35C548
analogous
#9035C5 #C535B2 #C5356A
triadic
#C535B2 #B2C535 #35B2C5
tetradic
#C535B2 #C59035 #35C548 #356AC5
square
#C535B2 #C59035 #35C548 #356AC5
split-complementary
#C535B2 #6AC535 #35C590
monochromatic
#651B5B #952886 #C535B2 #D562C6 #E293D7

Accessibility & contrast

On white

4.64
#C535B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C535B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C535B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C535B2#FFFFFF#000000##FFFFFF
##C535B21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#CE4270
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c535b2;
/* rgb */ color: rgb(197, 53, 178);
/* oklch */ color: oklch(59.0% 0.222 334.0);
Tailwind
colors: {
  custom: {
    50: '#da7ac9',
    500: '#c535b2',
    950: '#000000',
  },
}
SCSS
$custom: #c535b2;
$custom-light: #da7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c535b2",
  "rgb": {
    "r": 197,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 307.917,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59007,
    "c": 0.22167,
    "h": 334
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#C535B2
secondary
#89CD92
accent
#E15B47
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C535B2

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

Preview Lab → · Contrast checker → · Palette generator →

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