#C552B2#C552B2

#C552B2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.9% C 0.184 H 334.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C552B2
RGBrgb(197, 82, 178)
HSLhsl(310, 50%, 55%)
HSVhsv(310, 58%, 77%)
CMYKcmyk(0%, 58.4%, 9.6%, 22.7%)
CIE-LABlab(53.08, 57.44, -29.19)
CIE-LCHlch(53.08, 64.44, 333.06°)
OKLaboklab(61.94% 0.1663 -0.0794)
OKLCHoklch(61.94% 0.184 334.5)
XYZxyz(34.0793, 21.1218, 44.3928)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C552B2 #52C565
analogous
#9F52C5 #C552B2 #C55279
triadic
#C552B2 #B2C552 #52B2C5
tetradic
#C552B2 #C59F52 #52C565 #5279C5
square
#C552B2 #C59F52 #52C565 #5279C5
split-complementary
#C552B2 #79C552 #52C59F
monochromatic
#752768 #A33791 #C552B2 #D480C6 #E4AEDB

Accessibility & contrast

On white

4.02
#C552B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C552B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C552B2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C552B2#FFFFFF#000000##000000
##C552B21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#CE597A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c552b2;
/* rgb */ color: rgb(197, 82, 178);
/* oklch */ color: oklch(61.9% 0.184 334.5);
Tailwind
colors: {
  custom: {
    50: '#d989c9',
    500: '#c552b2',
    950: '#000000',
  },
}
SCSS
$custom: #c552b2;
$custom-light: #d989c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c552b2",
  "rgb": {
    "r": 197,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 309.913,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.1843,
    "h": 334.5
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#C552B2
secondary
#A1D2A9
accent
#D9654E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C552B2

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

Preview Lab → · Contrast checker → · Palette generator →

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