#C534B2#C534B2

#C534B2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.223 H 334.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C534B2
RGBrgb(197, 52, 178)
HSLhsl(308, 58%, 49%)
HSVhsv(308, 74%, 77%)
CMYKcmyk(0%, 73.6%, 9.6%, 22.7%)
CIE-LABlab(48.94, 68.98, -35.67)
CIE-LCHlch(48.94, 77.66, 332.65°)
OKLaboklab(58.93% 0.2001 -0.0977)
OKLCHoklch(58.93% 0.223 334)
XYZxyz(32.2901, 17.5434, 43.7964)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C534B2 #34C547
analogous
#9034C5 #C534B2 #C5346A
triadic
#C534B2 #B2C534 #34B2C5
tetradic
#C534B2 #C59034 #34C547 #346AC5
square
#C534B2 #C59034 #34C547 #346AC5
split-complementary
#C534B2 #6AC534 #34C590
monochromatic
#641A5B #952786 #C534B2 #D561C6 #E291D7

Accessibility & contrast

On white

4.66
#C534B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C534B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C534B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C534B2#FFFFFF#000000##FFFFFF
##C534B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c534b2;
/* rgb */ color: rgb(197, 52, 178);
/* oklch */ color: oklch(58.9% 0.223 334.0);
Tailwind
colors: {
  custom: {
    50: '#db7ac9',
    500: '#c534b2',
    950: '#000000',
  },
}
SCSS
$custom: #c534b2;
$custom-light: #db7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c534b2",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 307.862,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.22272,
    "h": 334
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#C534B2
secondary
#88CD91
accent
#E15B46
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C534B2

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

Preview Lab → · Contrast checker → · Palette generator →

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