#C534B7#C534B7

#C534B7 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.226 H 332.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C534B7
RGBrgb(197, 52, 183)
HSLhsl(306, 58%, 49%)
HSVhsv(306, 74%, 77%)
CMYKcmyk(0%, 73.6%, 7.1%, 22.7%)
CIE-LABlab(49.19, 69.73, -38.21)
CIE-LCHlch(49.19, 79.51, 331.28°)
OKLaboklab(59.19% 0.2004 -0.105)
OKLCHoklch(59.19% 0.226 332.3)
XYZxyz(32.8013, 17.7479, 46.4887)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C534B7 #34C542
analogous
#8B34C5 #C534B7 #C5346F
triadic
#C534B7 #B7C534 #34B7C5
tetradic
#C534B7 #C58B34 #34C542 #346FC5
square
#C534B7 #C58B34 #34C542 #346FC5
split-complementary
#C534B7 #6FC534 #34C58B
monochromatic
#641A5D #95278A #C534B7 #D561CA #E291DA

Accessibility & contrast

On white

4.62
#C534B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C534B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C534B7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C534B7#FFFFFF#000000##FFFFFF
##C534B71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BB
Deuteranopia (green-blind)
#647CB4
Tritanopia (blue-blind)
#CD4473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c534b7;
/* rgb */ color: rgb(197, 52, 183);
/* oklch */ color: oklch(59.2% 0.226 332.3);
Tailwind
colors: {
  custom: {
    50: '#db7acd',
    500: '#c534b7',
    950: '#000000',
  },
}
SCSS
$custom: #c534b7;
$custom-light: #db7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#c534b7",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 305.793,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.22627,
    "h": 332.3
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#C534B7
secondary
#88CD8F
accent
#E15546
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C534B7

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

Preview Lab → · Contrast checker → · Palette generator →

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