#C534C2#C534C2

#C534C2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.234 H 328.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C534C2
RGBrgb(197, 52, 194)
HSLhsl(301, 58%, 49%)
HSVhsv(301, 74%, 77%)
CMYKcmyk(0%, 73.6%, 1.5%, 22.7%)
CIE-LABlab(49.77, 71.43, -43.69)
CIE-LCHlch(49.77, 83.73, 328.55°)
OKLaboklab(59.79% 0.2007 -0.1209)
OKLCHoklch(59.79% 0.234 328.9)
XYZxyz(33.9912, 18.2239, 52.7557)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C534C2 #34C537
analogous
#8034C5 #C534C2 #C5347A
triadic
#C534C2 #C2C534 #34C2C5
tetradic
#C534C2 #C58034 #34C537 #347AC5
square
#C534C2 #C58034 #34C537 #347AC5
split-complementary
#C534C2 #7AC534 #34C580
monochromatic
#641A63 #952792 #C534C2 #D561D3 #E291E0

Accessibility & contrast

On white

4.52
#C534C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C534C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C534C2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C534C2#FFFFFF#000000##000000
##C534C21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#CC4A79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c534c2;
/* rgb */ color: rgb(197, 52, 194);
/* oklch */ color: oklch(59.8% 0.234 328.9);
Tailwind
colors: {
  custom: {
    50: '#db7bd5',
    500: '#c534c2',
    950: '#000000',
  },
}
SCSS
$custom: #c534c2;
$custom-light: #db7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c534c2",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 301.241,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.23428,
    "h": 328.9
  },
  "luminance": 0.18221
}

Semantic roles & 50–950 ramp

primary
#C534C2
secondary
#88CD89
accent
#E14A46
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C534C2

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

Preview Lab → · Contrast checker → · Palette generator →

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